Commit 3d7dfe5b authored by Łukasz Nowak's avatar Łukasz Nowak

testing/testcase: Expose unconfigured variable

parent 655fb891
Pipeline #15083 failed with stage
in 0 seconds
...@@ -474,6 +474,7 @@ class SlapOSInstanceTestCase(unittest.TestCase): ...@@ -474,6 +474,7 @@ class SlapOSInstanceTestCase(unittest.TestCase):
""" """
if not cls._test_file_snapshot_directory: if not cls._test_file_snapshot_directory:
warnings.warn("No snapshot directory configured, skipping snapshot") warnings.warn("No snapshot directory configured, skipping snapshot")
warnings.warn("Snapshot directory can be configured with SLAPOS_TEST_LOG_DIRECTORY environment")
return return
# we cannot use os.path.commonpath on python2, so implement something similar # we cannot use os.path.commonpath on python2, so implement something similar
common_path = os.path.commonprefix((source_file_name, cls._base_directory)) common_path = os.path.commonprefix((source_file_name, cls._base_directory))
......
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