diff --git a/slapos/tests/slap.py b/slapos/tests/slap.py
index 6f2f917a7968e09ffd81cd7715e3e2dd87e7447d..2a360b3b9a4149497beeec5d938ccbf8f6657c6b 100644
--- a/slapos/tests/slap.py
+++ b/slapos/tests/slap.py
@@ -78,7 +78,6 @@ class SlapMixin(unittest.TestCase):
     Returns the computer id used by the test
     """
     return self.id()
-    return os.environ.get('TEST_SLAP_COMPUTER_ID', self.id())
 
 
 class TestSlap(SlapMixin):