diff --git a/SAS/TMSS/test/tmss_test_environment_unittest_setup.py b/SAS/TMSS/test/tmss_test_environment_unittest_setup.py
index 102b14e8d1ac0ef249cef6c30cbad8713cf49541..58394538b6fb87e09300a784955a2e0ad36637c5 100644
--- a/SAS/TMSS/test/tmss_test_environment_unittest_setup.py
+++ b/SAS/TMSS/test/tmss_test_environment_unittest_setup.py
@@ -70,7 +70,7 @@ def _call_API_and_assert_expected_response(test_instance, url, call, data, expec
         raise ValueError("The provided call '%s' is not a valid API method choice" % call)
 
     if response.status_code != expected_code:
-        print("!!! Unexpected: [%s] - %s %s: %s" % (test_instance.id(), call, url, response.content.decode('utf-8').strip()))
+        logger.error("!!! Unexpected: [%s] - %s %s: %s", test_instance.id(), call, url, response.content.decode('utf-8').strip())
     test_instance.assertEqual(response.status_code, expected_code)
 
     content = response.content.decode('utf-8')
@@ -81,7 +81,7 @@ def _call_API_and_assert_expected_response(test_instance, url, call, data, expec
         r_dict = json.loads(content)
         for key, value in expected_content.items():
             if key not in r_dict.keys():
-                print('!!! Missing key: %s in %s' % (key, r_dict.keys()))
+                logger.error('!!! Missing key: %s in %s', key, r_dict.keys())
             test_instance.assertTrue(key in r_dict.keys())
             if isinstance(value, models.Model):
                 value = str(value.pk)
@@ -179,12 +179,12 @@ def DELETE_and_assert_gone(test_instance, url):
     """
     response = requests.delete(url, auth=AUTH)
     if response.status_code != 204:
-        print("!!! Unexpected: [%s] - %s %s: %s" % (test_instance.id(), 'DELETE', url, response.content))
+        logger.error("!!! Unexpected: [%s] - %s %s: %s", test_instance.id(), 'DELETE', url, response.content)
     test_instance.assertEqual(response.status_code, 204)
 
     response = requests.get(url, auth=AUTH)
     if response.status_code != 404:
-        print("!!! Unexpected: [%s] - %s %s: %s" % (test_instance.id(), 'GET', url, response.content))
+        logger.error("!!! Unexpected: [%s] - %s %s: %s", test_instance.id(), 'GET', url, response.content)
     test_instance.assertEqual(response.status_code, 404)