def test_site(self): """ Tests string representation of site context """ result = context.create_empty(self.tk) self.assertEquals(str(result), "unit_test_mock_sg")
def test_empty(self): result = context.create_empty(self.tk) self.assertEquals(result.shotgun_url, "http://unit_test_mock_sg" )
def test_empty_context(self): empty_context = context.Context(self.tk) result = context.create_empty(self.tk) self.assertTrue(empty_context, result)