Skip to content
This repository has been archived by the owner on Dec 5, 2021. It is now read-only.

Commit

Permalink
Fix pep8
Browse files Browse the repository at this point in the history
  • Loading branch information
mardiros committed May 30, 2017
1 parent a41fde0 commit 495018c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions pyshop/tests/test_models.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from .case import ModelTestCase
from . import setUpModule, tearDownModule
from pyshop.tests.case import ModelTestCase
from pyshop.tests import setUpModule, tearDownModule


class GroupTestCase(ModelTestCase):
Expand Down Expand Up @@ -122,7 +122,8 @@ class ReleaseTestCase(ModelTestCase):

def test_by_version(self):
from pyshop.models import Release
release = Release.by_version(self.session, u'mirrored_package2', u'1.0')
release = Release.by_version(
self.session, u'mirrored_package2', u'1.0')
self.assertIsInstance(release, Release)
self.assertEqual(release.package.name, u'mirrored_package2')
self.assertEqual(release.version, u'1.0')
Expand Down

0 comments on commit 495018c

Please sign in to comment.