diff options
| author | 2019-03-09 09:25:27 +0100 | |
|---|---|---|
| committer | 2019-03-09 09:25:27 +0100 | |
| commit | 2561c89077a02d1bfe8e4a832038e64bcaf8dd22 (patch) | |
| tree | 59b7dca0f89f6e1a03cdb24e1d6c6b6dbd1bcf2c /tests/cogs | |
| parent | Revert to 16.04 build pools. (diff) | |
| parent | Fix the linting issues with Bot so builds will work. (diff) | |
Merge pull request #333 from python-discord/django-lint
Fix the linting issues with Bot so builds will work.
Diffstat (limited to 'tests/cogs')
| -rw-r--r-- | tests/cogs/sync/test_roles.py | 2 | ||||
| -rw-r--r-- | tests/cogs/sync/test_users.py | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/tests/cogs/sync/test_roles.py b/tests/cogs/sync/test_roles.py index 7def815cc..18682f39f 100644 --- a/tests/cogs/sync/test_roles.py +++ b/tests/cogs/sync/test_roles.py @@ -1,4 +1,4 @@ -from bot.cogs.sync.syncers import get_roles_for_sync, Role +from bot.cogs.sync.syncers import Role, get_roles_for_sync def test_get_roles_for_sync_empty_return_for_equal_roles(): diff --git a/tests/cogs/sync/test_users.py b/tests/cogs/sync/test_users.py index ecf1d3926..a863ae35b 100644 --- a/tests/cogs/sync/test_users.py +++ b/tests/cogs/sync/test_users.py @@ -1,5 +1,6 @@ from bot.cogs.sync.syncers import User, get_users_for_sync + def fake_user(**kwargs): kwargs.setdefault('id', 43) kwargs.setdefault('name', 'bob the test man') |