Example #1
0
 def test_raises_not_implemented_error_on_invocation(self):
     user = User(
         username='******',
         password='******',
         salt='salt'
     )
     with pytest.raises(NotImplementedError):
         ViewMapper.to_json_from_model(user)
Example #2
0
 def test_raises_not_implemented_error_on_invocation(self):
     json = {}
     with pytest.raises(NotImplementedError):
         ViewMapper.to_model_from_json(json)
Example #3
0
 def test_raises_not_implemented_error_on_invocation(self):
     json = {}
     with pytest.raises(NotImplementedError):
         ViewMapper.to_model_from_json(json)
Example #4
0
 def test_raises_not_implemented_error_on_invocation(self):
     user = User(username='******', password='******', salt='salt')
     with pytest.raises(NotImplementedError):
         ViewMapper.to_json_from_model(user)