tests Package

test_tap Module

class stream_tap.tests.test_tap.TestTap(methodName='runTest')

Bases: unittest.case.TestCase

Test the tap Bucket and stream_tap.

setUp()
test_bucket_drain()

Test Bucket can drain it’s contents.

test_spigot_collects()

Test Spigot collects it’s contents.

test_stream_tap_one_bucket()

Test stream_tap with one bucket.

test_stream_tap_two_bucket()

Test stream_tap with two buckets.

stream_tap.tests.test_tap.get_company_crowd(item)

Get string based upon item if it is greater than two.

Returns:A string if item is greater or equal to three.
stream_tap.tests.test_tap.get_odd(item)

Get odd items.

Returns:item if it is odd.