utils.integration_tests.integration_base_test_case

Integration Tests Base

class utils.integration_tests.integration_base_test_case.MongoIntegrationBaseTestCase(methodName='runTest')

Bases: django.test.testcases.SimpleTestCase

Represent the Integration base test case The integration tests must inherit of this class

database = None
fixture = None

Methods

setUp()

Insert needed data.

Returns:

classmethod setUpClass()

Open a connection to the database.

Returns:

tearDown()

Clean the database.

Returns:

classmethod tearDownClass()

Disconnect the database. Returns: