# -*- coding: utf-8 -*-
"""
This script will run tests from `Modules.tests`.

"""
from __future__ import print_function
import os
if os.getcwd()[-7:] == "Scripts":
    print("Changing working directory to experiment root directory")
    os.chdir("../")
from Modules import tests


if __name__ == "__main__":
    tests.test_all()
#    tests.test_download_raw()
#    tests.test_plot_settling()

@@ -126,16 +126,30 @@
 t os%0Aif 
+os.path.split(
 os.getcw
@@ -155,12 +155,12 @@
 wd()
+)
 %5B-
-7:
+1
 %5D ==

Use more robust path detection in test script