astrosat / django-astrosat-users

Common backend library for Astrosat projects' user management
GNU General Public License v3.0
2 stars 0 forks source link

tests - and only tests - are failing b/c of trying to use a m2m relationship w/out first saving a user #9

Closed allynt closed 4 years ago

allynt commented 5 years ago

Checklist

Describe the bug

The user_data fixture fails b/c it tries to access roles prior to having saved the user. To get around this I can either override valid or else do something clever in the factory.

To Reproduce

Run the tests.

Expected behavior

The tests fail.