All these files are empty except for `setpath.py` which is not being
used.
---
 backend/test/unit/spacewalk/__init__.py            |  0
 backend/test/unit/spacewalk/test/__init__.py       |  0
 .../test/unit/spacewalk/test/server/__init__.py    |  0
 backend/test/unit/spacewalk/test/setpath.py        | 30 ----------------------
 4 files changed, 30 deletions(-)
 delete mode 100644 backend/test/unit/spacewalk/__init__.py
 delete mode 100644 backend/test/unit/spacewalk/test/__init__.py
 delete mode 100644 backend/test/unit/spacewalk/test/server/__init__.py
 delete mode 100644 backend/test/unit/spacewalk/test/setpath.py

diff --git a/backend/test/unit/spacewalk/__init__.py 
b/backend/test/unit/spacewalk/__init__.py
deleted file mode 100644
index e69de29..0000000
diff --git a/backend/test/unit/spacewalk/test/__init__.py 
b/backend/test/unit/spacewalk/test/__init__.py
deleted file mode 100644
index e69de29..0000000
diff --git a/backend/test/unit/spacewalk/test/server/__init__.py 
b/backend/test/unit/spacewalk/test/server/__init__.py
deleted file mode 100644
index e69de29..0000000
diff --git a/backend/test/unit/spacewalk/test/setpath.py 
b/backend/test/unit/spacewalk/test/setpath.py
deleted file mode 100644
index 8a92d8f..0000000
--- a/backend/test/unit/spacewalk/test/setpath.py
+++ /dev/null
@@ -1,30 +0,0 @@
-import sys
-import os
-import os.path
-
-PYTHON_PATH_SETUP = False
-
-def setup_python_path():
-    """
-    Configure the Python path to run the backend tests from a source checkout.
-    Can be called many times in a test run, but should only actually do
-    something the first time.
-    """
-    global PYTHON_PATH_SETUP
-    if PYTHON_PATH_SETUP:
-        print "PYTHONPATH already configured, skipping."
-        return
-    print "Configuring PYTHONPATH..."
-    if not os.environ.has_key('SPACEWALK_GIT'):
-        raise Exception("SPACEWALK_GIT environment variable not set")
-
-    gitdir = os.path.expanduser(os.environ['SPACEWALK_GIT'])
-    sys.path.insert(0, os.path.join(gitdir, "client/rhel/rhnlib/"))
-    sys.path.insert(0, os.path.join(gitdir, "backend"))
-    PYTHON_PATH_SETUP = True
-
-setup_python_path()
-
-
-
-
-- 
1.8.4

_______________________________________________
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel

Reply via email to