diagnostic.test package¶
Submodules¶
diagnostic.test.test_views module¶
-
class
diagnostic.test.test_views.
TestQueueScaleBakeView
(methodName='runTest')¶ Bases:
rest_framework.test.APITransactionTestCase
-
fixtures
= [u'diagnostic_job_types.json', u'diagnostic_recipe_types.json']¶
-
setUp
()¶
-
test_bad_num
()¶ Tests calling the view with a num of 0 (which is invalid).
-
test_successful
(*args, **keywargs)¶ Tests calling the view to create Scale Bake jobs.
-
-
class
diagnostic.test.test_views.
TestQueueScaleCasinoView
(methodName='runTest')¶ Bases:
rest_framework.test.APITransactionTestCase
-
fixtures
= [u'diagnostic_job_types.json', u'diagnostic_recipe_types.json']¶
-
setUp
()¶
-
test_bad_num
()¶ Tests calling the view with a num of 0 (which is invalid).
-
test_successful
(*args, **keywargs)¶ Tests calling the view to create Scale Casino recipes.
-
-
class
diagnostic.test.test_views.
TestQueueScaleHelloView
(methodName='runTest')¶ Bases:
rest_framework.test.APITransactionTestCase
-
fixtures
= [u'diagnostic_job_types.json', u'diagnostic_recipe_types.json']¶
-
setUp
()¶
-
test_bad_num
()¶ Tests calling the view with a num of 0 (which is invalid).
-
test_successful
(*args, **keywargs)¶ Tests calling the view to create Scale Hello jobs.
-
-
class
diagnostic.test.test_views.
TestQueueScaleRouletteView
(methodName='runTest')¶ Bases:
rest_framework.test.APITransactionTestCase
-
fixtures
= [u'diagnostic_job_types.json', u'diagnostic_recipe_types.json']¶
-
setUp
()¶
-
test_bad_num
()¶ Tests calling the view with a num of 0 (which is invalid).
-
test_successful
(*args, **keywargs)¶ Tests calling the view to create Scale Roulette jobs.
-