def test_ScriptScope_lookup_does_not_match_other_script_scope(self): script_name = self.factory.getUniqueString() scope = ScriptScope(script_name) self.assertFalse(scope.lookup("script:other"))
def test_ScriptScope_lookup_matches_script_scope(self): script_name = self.factory.getUniqueString() scope = ScriptScope(script_name) self.assertTrue(scope.lookup("script:" + script_name))