From 5dea09547e1d689777d391e3ed6ed0ddcea46968 Mon Sep 17 00:00:00 2001 From: "Desai, Kartikey H" Date: Fri, 11 Jan 2019 09:40:57 -0500 Subject: [PATCH] Fix test for fix to issue 232 --- stix2/test/v20/test_datastore_filesystem.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/stix2/test/v20/test_datastore_filesystem.py b/stix2/test/v20/test_datastore_filesystem.py index c8607e2..e447c73 100644 --- a/stix2/test/v20/test_datastore_filesystem.py +++ b/stix2/test/v20/test_datastore_filesystem.py @@ -443,14 +443,14 @@ def test_filesystem_sink_attempt_stix_file_overwrite(fs_sink, fs_source): assert "Georgey" in camp8_r.aliases # now attempt to overwrite the same file - camp9 = stix2.v20.Campaign( - name="George Washington", - objective="Create an awesome country", - aliases=["Georgey"], - ) + # camp9 = stix2.v20.Campaign( + # name="George Washington", + # objective="Create an awesome country", + # aliases=["Georgey"], + # ) with pytest.raises(DataSourceError) as excinfo: - fs_sink.add(camp9) + fs_sink.add(camp8) assert "Attempted to overwrite file" in str(excinfo) os.remove(filepath)