Skip to main content

Sauce Labs interface for Python 3 exposing more of the SLAPI

Project description

# PastaSauce
============
An expansion of [sauceclient](https://pypi.python.org/pypi/sauceclient) to assist with Python 3 Selenium testing, test management, and SauceComm tunnels.

## Basic Use
------------
* PastaSauce uses the requests library to manage HTML requests and BeautifulSoup4 to parse web pages.

from pastasauce import PastaSauce

ps = PastaSauce(saucelabs_username, saucelabs_access_key)
print(ps.get_sauce_labs_status()) # print SauceLabs server status

* If you plan to utilize multi-browser testing on SauceLabs include the test class decorator to iterate through a dictionary of browser setting.

from pastasauce import PastaDecorator
import unittest

browsers = [[{
"platform": "Windows 10",
"browserName": "internet explorer",
"version": "11"
}, {
"platform": "OS X 10.11",
"browserName": "safari",
"version": "8.1"
}]

@PastaDecorator.on_platforms(browsers)
class OneSampleTest(unittest.TestCase):
def test_multibrowser_support(self):
assert(True), 'Should never be False'

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pastasauce-0.1.13.tar.gz (11.3 kB view details)

Uploaded Source

File details

Details for the file pastasauce-0.1.13.tar.gz.

File metadata

  • Download URL: pastasauce-0.1.13.tar.gz
  • Upload date:
  • Size: 11.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pastasauce-0.1.13.tar.gz
Algorithm Hash digest
SHA256 9847b0453a77d7c422c88bb33447f427007dc7fbc2878f5221d722d5dd6f6a68
MD5 30416c47df6e23f712ecf67cedfc3ccb
BLAKE2b-256 ad6e908d1d6a75c2df7de060d2c9f2e5d0eb4b9baa50506e69b249506e7b4248

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page