inatcog.tests package

Submodules

inatcog.tests.test_api module

Test inatcog.api.

class inatcog.tests.test_api.AsyncSleep(*args, **kw)[source]

Bases: MagicMock

class inatcog.tests.test_api.ResponseMock(expected_result)[source]

Bases: object

await json()[source]
class inatcog.tests.test_api.TestAPI(methodName='runTest')[source]

Bases: IsolatedAsyncioTestCase

setUp()[source]

Hook method for setting up the test fixture before exercising it.

await test_get_observation_bounds()[source]

Test get_observation_bounds.

await test_get_users_by_id()[source]

Test get_users by id.

await test_get_users_by_login()[source]

Test get_users by login.

await test_get_users_by_name()[source]

Test get_users by name.

inatcog.tests.test_embeds module

class inatcog.tests.test_embeds.TestEmbeds(methodName='runTest')[source]

Bases: TestCase

test_make_embed()[source]

Test make_embed.

test_sorry()[source]

Test sorry.

inatcog.tests.test_maps module

Test maps module.

class inatcog.tests.test_maps.AsyncSleep(*args, **kw)[source]

Bases: MagicMock

class inatcog.tests.test_maps.ResponseMock(expected_result)[source]

Bases: object

await json()[source]
class inatcog.tests.test_maps.TestMaps(methodName='runTest')[source]

Bases: IsolatedAsyncioTestCase

Test maps module members.

setUp()[source]

Hook method for setting up the test fixture before exercising it.

await test_get_map_coords_for_taxon_ids()[source]

Test get_map_coords_for_taxon_ids.

await test_get_zoom_level()[source]

Test get_zoom_level.

inatcog.tests.test_users module

Test inatcogs.users.

Module contents