mirror of
https://github.com/dylanaraps/pywal.git
synced 2025-06-20 01:27:42 +02:00
tests: Remove unused line.
This commit is contained in:
parent
1ede83a018
commit
bb81f1a43d
@ -16,8 +16,7 @@ class TestExportColors(unittest.TestCase):
|
|||||||
def test_save_colors(self):
|
def test_save_colors(self):
|
||||||
"""> Export colors to a file."""
|
"""> Export colors to a file."""
|
||||||
tmp_file = pathlib.Path("/tmp/test_file")
|
tmp_file = pathlib.Path("/tmp/test_file")
|
||||||
colors = util.read_file("tests/test_files/test_file")
|
export_colors.save_colors(COLORS, tmp_file, "plain colors")
|
||||||
export_colors.save_colors(colors, tmp_file, "plain colors")
|
|
||||||
result = tmp_file.is_file()
|
result = tmp_file.is_file()
|
||||||
self.assertTrue(result)
|
self.assertTrue(result)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user