Example #1
0
 def test_role_exists_empty(self):
     ctx = self._make_context()
     v = validators.role_exists('', ctx)
Example #2
0
 def test_role_exists_empty(self):
     ctx = self._make_context()
     v = validators.role_exists('', ctx)
Example #3
0
def test_role_exists_empty():
    with pytest.raises(df.Invalid):
        validators.role_exists("", _make_context())