diff --git a/tests/migrations/0002_auto_20200214_1129.py b/tests/migrations/0002_auto_20200214_1129.py index 5f2301fe..4c0af657 100644 --- a/tests/migrations/0002_auto_20200214_1129.py +++ b/tests/migrations/0002_auto_20200214_1129.py @@ -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", diff --git a/tests/tests.py b/tests/tests.py index 2321c75a..58509d56 100644 --- a/tests/tests.py +++ b/tests/tests.py @@ -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)