Skip to content

Commit

Permalink
Minor improvements to test_events.py
Browse files Browse the repository at this point in the history
* Rename the test case.
* it's no longer necessary to set app.debug
  • Loading branch information
osteele committed May 4, 2018
1 parent b7f354e commit 937445b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/test_events.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,10 @@
from abe import sample_data # isort:skip


class AbeTestCase(abe_unittest.TestCase):
class EventsTestCase(abe_unittest.TestCase):

def setUp(self):
super().setUp()
abe.app.app.debug = True # enable debug to prevent https redirects
self.app = abe.app.app.test_client()
sample_data.load_data(self.db)

Expand Down

0 comments on commit 937445b

Please sign in to comment.