Skip to content

Commit

Permalink
Fixing issues on TOXENV=black as jobs not running on intel
Browse files Browse the repository at this point in the history
  • Loading branch information
kishorkunal-raj authored and Asif Saif Uddin committed Oct 15, 2020
1 parent 3b56adb commit 1e4dca3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion tests/migrations/0002_auto_20200214_1129.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class Migration(migrations.Migration):
options={"ordering": ["created_at"]},
),
migrations.AlterModelOptions(
name="uuidfood", options={"ordering": ["created_at"]},
name="uuidfood", options={"ordering": ["created_at"]}
),
migrations.AddField(
model_name="blanktagmodel",
Expand Down
8 changes: 2 additions & 6 deletions tests/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,14 +126,10 @@ def test_model_manager_add(self):
apple = OfficialFood.objects.create(name="apple")

# let's add two official tags
apple.tags.add(
"foo", "bar", tag_kwargs={"official": True},
)
apple.tags.add("foo", "bar", tag_kwargs={"official": True})

# and two unofficial ones
apple.tags.add(
"baz", "wow", tag_kwargs={"official": False},
)
apple.tags.add("baz", "wow", tag_kwargs={"official": False})

# We should end up with 4 tags
self.assertEquals(apple.tags.count(), 4)
Expand Down

0 comments on commit 1e4dca3

Please sign in to comment.