Пример #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))