Skip to content

Initial unit test work - #72

Open
wwsean08 wants to merge 3 commits into
Team-TAU:mainfrom
wwsean08:unit-tests
Open

Initial unit test work#72
wwsean08 wants to merge 3 commits into
Team-TAU:mainfrom
wwsean08:unit-tests

Conversation

@wwsean08

Copy link
Copy Markdown
Contributor

Changes

  • Setup pytest and remove django-nose as nose and it have been put in maintenence mode and should not be used in new projects per https://github.com/jazzband/django-nose#note-to-users
  • Create a django config for tests so that they can actually run and not complain about a missing django secret. Made it (hopefully) obviously insecure so users will never consider using it themselves.
  • Removed the various user tests, they could be converted to pytest if we'd like, but doesn't seem useful given that those API endpoints aren't actually exposed.

Testing

Manually ran tests within the tau_app container running the command pytest getting the following output:
Screen Shot 2021-07-11 at 10 01 25 AM

Screen Shot 2021-07-11 at 10 03 24 AM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant