Skip to content

Commit

Permalink
Apply new Black formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
mythmon committed Apr 1, 2020
1 parent c53b8c9 commit af0882f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion normandy/recipes/tests/api/v3/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ def test_it_can_create_recipes_actions_without_implementation(self, api_client):
)
assert res.status_code == 201

recipe, = Recipe.objects.all()
(recipe,) = Recipe.objects.all()
assert recipe.latest_revision.action.implementation is None

def test_it_can_create_disabled_recipes(self, api_client):
Expand Down
2 changes: 1 addition & 1 deletion normandy/recipes/tests/test_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -708,7 +708,7 @@ def test_it_publishes_new_revisions_if_enabled(self, mocked_remotesettings):

assert mocked_remotesettings.return_value.publish.call_count == 2
second_call_args, _ = mocked_remotesettings.return_value.publish.call_args_list[1]
modified_recipe, = second_call_args
(modified_recipe,) = second_call_args
assert modified_recipe.latest_revision.name == "Modified"

def test_it_does_not_publish_when_approved_if_not_enabled(self, mocked_remotesettings):
Expand Down

0 comments on commit af0882f

Please sign in to comment.