Commit 8fdd379c authored by Samuel GAIST's avatar Samuel GAIST

[test][docker] Update raw data access experiment name

parent 20596949
......@@ -227,3 +227,24 @@ class TestDockerExperimentRun(core.AssetBaseTest):
nose.tools.eq_(exit_code, 1, outputs)
exit_code, outputs = self.call("run", obj, "--docker", cache=tmp_prefix)
nose.tools.eq_(exit_code, 1, outputs)
@slow
def test_run_raw_data_access(self):
"""Test that the raw data access works"""
db = Database(prefix, "simple_rawdata_access/1")
nose.tools.assert_true(db.valid, db.errors)
data_sharing_path = db.data["root_folder"]
offset = 12
with open(os.path.join(data_sharing_path, "datafile.txt"), "wt") as data_file:
data_file.write("{}".format(offset))
obj = "user/user/single/1/single_rawdata_access"
args = ["run", obj, "--docker"]
exit_code, outputs = self.call(*args, cache=tmp_prefix)
nose.tools.eq_(exit_code, 0, outputs)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment