Skip to content

Commit

Permalink
Fix flake8 issues
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaeldelucena committed Aug 15, 2024
1 parent 74c1eb7 commit e8b1fd0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion client/funq/tests/test_aliases.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def test_with_gkit_interpolation(self):
b = {OTHER_DEFINE}
""", gkit_data)
assert aliases == {'MY_DEFINE': '33', 'a': '33::1',
'OTHER_DEFINE': '33::66', 'b': '33::66'}
'OTHER_DEFINE': '33::66', 'b': '33::66'}

def test_with_gkit_custom(self):
gkit_data = """
Expand Down
4 changes: 2 additions & 2 deletions client/funq/tests/test_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def test_row_by_named_path_str_custom_path(self):

def test_row_by_named_path_missing(self):
items = self.model_items.row_by_named_path('blah/bluh')
assert items == None
assert items is None

def test_item_by_named_path(self):
item = self.model_items.item_by_named_path(['0-0', '0-0'])
Expand All @@ -128,4 +128,4 @@ def test_item_by_named_path_column(self):

def test_item_by_named_path_missing(self):
item = self.model_items.item_by_named_path('blah/bluh')
assert item == None
assert item is None
3 changes: 1 addition & 2 deletions client/funq/tests/test_screenshoter.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,7 @@ def test_take_screenshots():

ctx.take_screenshot(funq, "thisisit")

assert (list(map(os.path.basename, funq.screens)) ==
["0.png", "1.png"])
assert list(map(os.path.basename, funq.screens)) == ["0.png", "1.png"]
content = open(os.path.join(ctx.working_folder, 'images.txt')).read()
assert "0.png: hello" in content
assert "1.png: thisisit" in content

0 comments on commit e8b1fd0

Please sign in to comment.