Skip to content

Commit b47cbcb

Browse files
committed
test_beamcut_mds.py now downloads all required data.
1 parent b677fab commit b47cbcb

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/unit/test_beamcut_mds.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ def setup_class(cls):
3434
"""setup any state specific to the execution of the given test class
3535
such as fetching test data"""
3636
data.download(file=cls.remote_beamcut_name, folder=cls.data_folder)
37+
data.download(file="ref_beamcut_products", folder=cls.data_folder)
3738

3839
# Add datafolder to names for execution
3940
for varname, varvalue in cls.__dict__.items():
@@ -45,8 +46,8 @@ def setup_class(cls):
4546
def teardown_class(cls):
4647
"""teardown any state that was previously setup with a call to setup_class
4748
such as deleting test data"""
48-
# shutil.rmtree(cls.data_folder, ignore_errors=True)
49-
# shutil.rmtree(cls.destination_folder, ignore_errors=True)
49+
shutil.rmtree(cls.data_folder, ignore_errors=True)
50+
shutil.rmtree(cls.destination_folder, ignore_errors=True)
5051
return
5152

5253
def test_init_and_open_beamcut(self):

0 commit comments

Comments
 (0)