def test07_test_root_sets_and_gets_class_variable(self):

        vfxtest.TestCase.test_root = './lorem/ipsum'
        self.assertEqual(vfxtest.TestCase.test_root, './lorem/ipsum')

        a = vfxtest.TestCase(test_run=True)
        b = vfxtest.TestCase(test_run=True)

        a.test_root = './foo/bar'
        self.assertEqual(a.test_root, './foo/bar')
        self.assertEqual(a.test_root, b.test_root)

        b.test_root = './fizz/buzz'
        self.assertEqual(b.test_root, './fizz/buzz')
        self.assertEqual(a.test_root, b.test_root)
    def test04_context_matches_context_in_settings(self):

        foo = vfxtest.TestCase(test_run=True)
        settings = vfxtest.collectSettings()
        settings['context'] = 'awesomeContext'
        foo.settings = settings
        self.assertEqual(foo.context, 'awesomeContext')
    def test05_context_settings_matches_settings(self):

        foo = vfxtest.TestCase(test_run=True)
        settings = vfxtest.collectSettings()
        settings['context'] = 'python3.x'
        foo.settings = settings
        self.assertEqual(foo.context_settings,
                         settings['context_details']['python3.x'])
    def test03_settings_set_to_invalid_content_results_in_empty_dict(self):

        foo = vfxtest.TestCase(test_run=True)
        foo.settings = ['invalid', 'settings']
        self.assertEqual(foo.settings, {})
    def test02_settings_can_be_get_and_set(self):

        foo = vfxtest.TestCase(test_run=True)
        settings = vfxtest.collectSettings()
        foo.settings = settings
        self.assertEqual(foo.settings, settings)
    def test01_TestCase_object_is_valid_unittest_TestCase(self):

        foo = vfxtest.TestCase(test_run=True)
        self.assertTrue(isinstance(foo, unittest.TestCase))