Skip to content

Commit 585a166

Browse files
Update tests/packagedcode/test_plugin_package.py
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com> Co-authored-by: Ayan Sinha Mahapatra <ayansmahapatra@gmail.com>
1 parent 1d6d46d commit 585a166

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/packagedcode/test_plugin_package.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ def test_package_list_command(self, regen=REGEN_TEST_FIXTURES):
226226
else:
227227
expected_file = self.get_test_loc('plugin/plugins_list.txt')
228228
result = run_scan_click(['--list-packages'])
229-
if True:
229+
if regen:
230230
with open(expected_file, 'w') as ef:
231231
ef.write(result.output)
232232
assert result.output == open(expected_file).read()

0 commit comments

Comments
 (0)