diff options
author | Parker Berberian <pberberian@iol.unh.edu> | 2018-11-20 11:19:55 -0500 |
---|---|---|
committer | Parker Berberian <pberberian@iol.unh.edu> | 2018-11-26 14:07:15 -0500 |
commit | f2bbdbbf7e03be031723a9680aa9deaf80e4a99c (patch) | |
tree | 54086b0ae60b65da0905e3b51c922934247b5370 /dashboard/src/account/tests | |
parent | 674812a20f6804c287e1355ec8a1adf907798a94 (diff) |
Fix all flake8 errors
The flake8 command in test.sh finds no longer finds any errors.
This may form a basis of a jenkins verify job as a sort of 'weak compile-time checks'
The flake8 command will not complain about line length, and will not complain about
django's manage.py file
Change-Id: Ic47cb4fc7ada55e64485661ab6881aef475018ff
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
Diffstat (limited to 'dashboard/src/account/tests')
-rw-r--r-- | dashboard/src/account/tests/__init__.py | 2 | ||||
-rw-r--r-- | dashboard/src/account/tests/test_general.py | 4 |
2 files changed, 1 insertions, 5 deletions
diff --git a/dashboard/src/account/tests/__init__.py b/dashboard/src/account/tests/__init__.py index b5914ce..b6fef6c 100644 --- a/dashboard/src/account/tests/__init__.py +++ b/dashboard/src/account/tests/__init__.py @@ -6,5 +6,3 @@ # which accompanies this distribution, and is available at # http://www.apache.org/licenses/LICENSE-2.0 ############################################################################## - - diff --git a/dashboard/src/account/tests/test_general.py b/dashboard/src/account/tests/test_general.py index e8f483b..57ad291 100644 --- a/dashboard/src/account/tests/test_general.py +++ b/dashboard/src/account/tests/test_general.py @@ -30,7 +30,7 @@ class AccountMiddlewareTestCase(TestCase): The timezone should be UTC for anonymous users, for authenticated users it should be set to user.userprofile.timezone """ - #default + # default self.assertEqual(timezone.get_current_timezone_name(), 'UTC') url = reverse('account:settings') @@ -56,5 +56,3 @@ class AccountMiddlewareTestCase(TestCase): self.client.login(username='user2', password='user2') self.client.get(url) self.assertTrue(user2.userprofile) - - |