-
Notifications
You must be signed in to change notification settings - Fork 71
Added our own test suite for the django tests and removed the django-… #679
Conversation
…setuptest dependency.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 4 of 5 files at r1.
Reviewable status: 4 of 5 files reviewed, all discussions resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 5 of 5 files at r1.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @NiallEgan)
test_utils/test_suite.py, line 26 at r1 (raw file):
self.test_runner.setup_test_environment() self.old_config = self.test_runner.setup_databases()
why is it old_config
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: 4 of 5 files reviewed, 1 unresolved discussion (waiting on @CelineBoudier and @riaJha97)
test_utils/test_suite.py, line 26 at r1 (raw file):
Previously, CelineBoudier (Celine Boudier) wrote…
why is it old_config
Renamed to something clearer.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 1 of 1 files at r2.
Reviewable status: complete! all files reviewed, all discussions resolved
* Logs logic * Send logs from worker minor change * Updated test * Wrote some test cases for avatar logs * Minor refactoring (splitting logs and actions apart) * Merge remote-tracking branch 'origin/send_logs_from_worker' into save_logs * Catch worker not ready edge case * Fix #632 and master conflicts * Minor refactoring * prints for testing * Merge branch 'save_logs' of https://github.com/ocadotechnology/aimmo into save_logs * Fixed some broken tests * Merge branch 'save_logs' of https://github.com/ocadotechnology/aimmo into save_logs * Merge branch 'test_logs' into save_logs * Added some test cases for logs that check whether the logs are received successfully using the turn manager and the worker. * Added another file that tests logs becuase I'm not sure which one is correct * Added our own test suite for the django tests and removed the django-setuptest dependency. * Deleted other test_logs file * Changed logger level back to INFO * Pep8 stuff * variable rename * Fixed deprecation warnings for Django 1.10 (#682) * String arguments deprecated in 1.10 * replaced middleware_classes with middleware as it is deprecated in 1.10 * Merge pull request #679 from ocadotechnology/remove_setuptest Added our own test suite for the django tests and removed the django-… * Minor PEP8 changes (#672) * Revert "Work on docs" This reverts commit b667e4c3f91b24f37a6dd8d2980410314336473d. * Added tests for avatars with no workers and improved docs. * PEP8 stuff PEP8 stuff PEP8 stuff * Minor PEP8 changes * Minor PEP8 changes * Logs logic * Wrote some test cases for avatar logs * Minor refactoring (splitting logs and actions apart) * Catch worker not ready edge case * Minor refactoring * prints for testing * Fixed some broken tests * Added some test cases for logs that check whether the logs are received successfully using the turn manager and the worker. * Added another file that tests logs becuase I'm not sure which one is correct * Deleted other test_logs file * Changed logger level back to INFO * Pep8 stuff * Merge remote-tracking branch 'origin/save_logs' into save_logs * Add changes as requested * Change exception levels to suit outer function * Reflect handle_turn as same method declaration * Single responsibility principle... kind of 🤷♀️ * Refactor method name * Catch exceptions instead * Pull request changes * Use attribute setters * Add the DummyAvatarManager back in * Fix too many blank lines in avatar_wrapper
…setuptest dependency. Fixes #678.
This change is