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)
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