diff --git a/tests/scaffold_tests.py b/tests/scaffold_tests.py index 486873a..b5856fc 100644 --- a/tests/scaffold_tests.py +++ b/tests/scaffold_tests.py @@ -7,10 +7,10 @@ def setup(): os.mkdir(target_dir) #Create a temporary directory that we will delete later upon test completion - print "root test directory: {dir}".format(dir=target_dir) + print("root test directory: {dir}".format(dir=target_dir)) def teardown(): - print "attempting to tear down {dir}".format(dir=target_dir) + print("attempting to tear down {dir}".format(dir=target_dir)) shutil.rmtree(target_dir) #Recursively deletes the directory and all of its contents def test_create_folder_path(): @@ -77,4 +77,4 @@ def assert_file_exists(target_dir, sub_dir, filename): if sub_dir == None: #If we don't have a sub-directory assert os.path.exists(os.path.join(target_dir, filename)) else: - assert os.path.exists(os.path.join(os.path.join(target_dir, sub_dir), filename)) \ No newline at end of file + assert os.path.exists(os.path.join(os.path.join(target_dir, sub_dir), filename))