mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-10-26 19:01:39 -04:00
Moving test file into test directory.
This commit is contained in:
parent
0fbbd36297
commit
a879e43c73
1 changed files with 2 additions and 2 deletions
|
|
@ -1070,5 +1070,5 @@ def test_replace_file(test_directory):
|
|||
with pytest.raises(FileNotFoundError):
|
||||
lib.replace_file('does not exist', 'foo')
|
||||
|
||||
# Non-existent file can be overwritten.
|
||||
lib.replace_file('does not exist', 'foo', missing_ok=True)
|
||||
# Non-existent file can be created.
|
||||
lib.replace_file(test_directory / 'will now exist', 'foo', missing_ok=True)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue