예제 #1
0
 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"))
예제 #2
0
 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"))
예제 #3
0
 def test_ScriptScope_lookup_matches_script_scope(self):
     script_name = self.factory.getUniqueString()
     scope = ScriptScope(script_name)
     self.assertTrue(scope.lookup("script:" + script_name))
예제 #4
0
 def test_ScriptScope_lookup_matches_script_scope(self):
     script_name = self.factory.getUniqueString()
     scope = ScriptScope(script_name)
     self.assertTrue(scope.lookup("script:" + script_name))