Skip to content
This repository has been archived by the owner on Oct 29, 2019. It is now read-only.

Commit

Permalink
Flake8 fixes for test_plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
Kirill Kniazev committed Dec 18, 2015
1 parent 001b455 commit 07bd48e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aldryn_people/tests/test_plugins.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def test_plugin_with_no_apphook_doesnot_breaks_page(self):
with force_language('en'):
name = 'Donald'
Person.objects.create(name=name)
plugin = api.add_plugin(
api.add_plugin(
self.placeholder, PeoplePlugin, 'en')
self.page.publish('en')
url = self.page.get_absolute_url()
Expand All @@ -119,7 +119,7 @@ def test_plugin_with_no_apphook_shows_error_message(self):
with force_language('en'):
name = 'Donald'
Person.objects.create(name=name)
plugin = api.add_plugin(
api.add_plugin(
self.placeholder, PeoplePlugin, 'en')
self.page.publish('en')
url = self.page.get_absolute_url()
Expand Down

0 comments on commit 07bd48e

Please sign in to comment.