Removed Unused Variable in Unit Test
- Removed an optional parameter on with since the variable was not used. Change-Id: I9794ae07e8904e71dee2cc55cc6ba3c9b71fc06f
This commit is contained in:
parent
3e1859010b
commit
2c1a95f105
@ -59,7 +59,7 @@ class TestFileHelpers(object):
|
|||||||
with open(path, "r") as out_fi:
|
with open(path, "r") as out_fi:
|
||||||
assert list(yaml.safe_load_all(out_fi)) == [{"a": 1}]
|
assert list(yaml.safe_load_all(out_fi)) == [{"a": 1}]
|
||||||
|
|
||||||
with pytest.raises(ValueError) as _:
|
with pytest.raises(ValueError):
|
||||||
files.write(object(), path)
|
files.write(object(), path)
|
||||||
|
|
||||||
def test_file_permissions(self, temp_deployment_files):
|
def test_file_permissions(self, temp_deployment_files):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user