gothinkster / flask-realworld-example-app

Exemplary real world JSON API built with Flask (Python)
https://realworld.io/
MIT License
897 stars 308 forks source link

fix failed unittest #27

Closed Allianzcortex closed 5 years ago

Allianzcortex commented 5 years ago

fix more for functions decorated by pre/post

There will be 1 failed unit test after those changes,so I just uncomment the original one and implement the same assertion based on structure:

assert profile_schema.dump(user)['profile'] == authorp

Allianzcortex commented 5 years ago

@mohamed-aziz

The new fix is passed in my fork ( : You can review all the code

image

realazizk commented 5 years ago

I tested this it seems to work, Thanks @Allianzcortex

realazizk commented 5 years ago

Closes #25