Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
M-Mueller committed Mar 11, 2018
1 parent 9b784ef commit 740818d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ def setUp(self):
settings.DATABASE = ':memory:'

def tearDown(self):
del settings.MATTERMOST_TOKEN
if hasattr(settings, 'MATTERMOST_TOKEN'):
del settings.MATTERMOST_TOKEN
settings.MATTERMOST_TOKENS = None

def test_parse_slash_command(self):
Expand Down

0 comments on commit 740818d

Please sign in to comment.