Skip to content

Commit

Permalink
Check static code
Browse files Browse the repository at this point in the history
  • Loading branch information
SalmanAsh committed Jul 9, 2024
1 parent 72c5654 commit 44dfbb6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions api/models/agreement_signature_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

from .agreement_signature import AgreementSignature
from .contributor import Contributor
from .repository import Repository
# from .repository import Repository


class TestAgreementSignature(ModelTestCase[AgreementSignature]):
Expand All @@ -19,7 +19,7 @@ def setUp(self):
self.agreement_signature = Contributor.objects.get(pk=1)

# def test_str(self):
# """Parsing a contributor object instance to string returns its name."""
# """Parsing a contributor object instance to returns its name."""
# pass

# def test_fields(self):
Expand Down
6 changes: 3 additions & 3 deletions api/models/repository_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@

from codeforlife.tests import ModelTestCase

from .agreement_signature import AgreementSignature
from .contributor import Contributor
# from .agreement_signature import AgreementSignature
# from .contributor import Contributor
from .repository import Repository


Expand All @@ -19,7 +19,7 @@ def setUp(self):
self.repository = Repository.objects.get(pk=111)

# def test_str(self):
# """Parsing a contributor object instance to string returns its name."""
# """Parsing a contributor object instance to returns its name."""
# assert str(self.repository) == self.repository.name

# def test_fields(self):
Expand Down

0 comments on commit 44dfbb6

Please sign in to comment.