aboutsummaryrefslogtreecommitdiffstats
path: root/tests/cogs
diff options
context:
space:
mode:
authorGravatar Scragly <[email protected]>2019-03-09 17:52:23 +1000
committerGravatar Scragly <[email protected]>2019-03-09 17:52:23 +1000
commit1ff9aa88628d7c25484da1b85ef4d1eeb0049b63 (patch)
tree59b7dca0f89f6e1a03cdb24e1d6c6b6dbd1bcf2c /tests/cogs
parentRevert to 16.04 build pools. (diff)
Fix the linting issues with Bot so builds will work.
Diffstat (limited to 'tests/cogs')
-rw-r--r--tests/cogs/sync/test_roles.py2
-rw-r--r--tests/cogs/sync/test_users.py1
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')