tardis.tardis_portal.tests.management package

Submodules

tardis.tardis_portal.tests.management.test_collectstatic module

class tardis.tardis_portal.tests.management.test_collectstatic.CollectstaticTest(methodName='runTest')

Bases: django.test.testcases.TestCase

setUp()

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

tearDown()

Hook method for deconstructing the test fixture after testing it.

test_collectstatic()

tardis.tardis_portal.tests.management.test_createuser module

class tardis.tardis_portal.tests.management.test_createuser.CreateUserTestCase(methodName='runTest')

Bases: django.test.testcases.TestCase

testInteractive()

Just test that we can run ./manage.py createuser without any runtime exceptions by mocking the raw_input username and email entry

testNoInput()

Just test that we can run ./manage.py createuser –username testuser1 –email testuser1@example.com –noinput without any runtime exceptions

tardis.tardis_portal.tests.management.test_dumpschemas module

class tardis.tardis_portal.tests.management.test_dumpschemas.DumpSchemasTestCase(methodName='runTest')

Bases: django.test.testcases.TestCase

setUp()

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

tearDown()

Hook method for deconstructing the test fixture after testing it.

testDumpSchemas()

Just test that we can run ./manage.py dumpschemas without any runtime exceptions

tardis.tardis_portal.tests.management.test_loadschemas module

class tardis.tardis_portal.tests.management.test_loadschemas.LoadSchemasTestCase(methodName='runTest')

Bases: django.test.testcases.TestCase

testLoadSchemas()

Test that we can run ./manage.py loadschemas tardis/tardis_portal/fixtures/jeol_metadata_schema.json

tardis.tardis_portal.tests.management.test_rmexperiment module

class tardis.tardis_portal.tests.management.test_rmexperiment.RmExperimentTestCase(methodName='runTest')

Bases: django.test.testcases.TestCase

testList()
testRemove()

Module contents

This package contains tests relating to management commands, i.e. command-line tools invoked with manage.py