Esempio n. 1
0
 def test_is_scope_owner(self):
     """ SCOPE (CORE): Is scope owner """
     scope = scope_name_generator()
     add_scope(scope=scope, account='jdoe')
     anwser = is_scope_owner(scope=scope, account='jdoe')
     assert_equal(anwser, True)
Esempio n. 2
0
 def test_is_scope_owner(self):
     """ SCOPE (CORE): Is scope owner """
     scope = InternalScope(scope_name_generator(), **self.vo)
     add_scope(scope=scope, account=self.jdoe)
     anwser = is_scope_owner(scope=scope, account=self.jdoe)
     assert anwser is True
Esempio n. 3
0
 def test_is_scope_owner(self):
     """ SCOPE (CORE): Is scope owner """
     scope = scope_name_generator()
     add_scope(scope=scope, account='jdoe')
     anwser = is_scope_owner(scope=scope, account='jdoe')
     assert_equal(anwser, True)