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)
def test_raises_not_implemented_error_on_invocation(self): json = {} with pytest.raises(NotImplementedError): ViewMapper.to_model_from_json(json)
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)