diff --git a/tests/units/nulecule/artifact_xpath_test/artifacts/docker/hello-apache-pod_run b/tests/units/nulecule/artifact_xpath_test/artifacts/docker/hello-apache-pod_run new file mode 100644 index 00000000..e69de29b diff --git a/tests/units/nulecule/artifact_xpath_test/artifacts/kubernetes/hello-apache-pod.json b/tests/units/nulecule/artifact_xpath_test/artifacts/kubernetes/hello-apache-pod.json new file mode 100644 index 00000000..e69de29b diff --git a/tests/units/nulecule/test_xpathing.py b/tests/units/nulecule/test_xpathing.py index 5a4cbba3..e8ff5cee 100644 --- a/tests/units/nulecule/test_xpathing.py +++ b/tests/units/nulecule/test_xpathing.py @@ -35,10 +35,10 @@ class TestNuleculeXpathing(unittest.TestCase): # Create a temporary directory for our setup as well as load the required NuleculeComponent def setUp(self): - self.tmpdir = tempfile.mkdtemp(prefix = "atomicapp-test", dir = "/tmp") + self.example_dir = os.path.dirname(__file__) + '/artifact_xpath_test/' self.artifact_path = os.path.dirname(__file__) + '/artifact_xpath_test/xpath.json' self.artifact_content = open(self.artifact_path, 'r').read(); - self.test = NuleculeComponent(name = None, basepath = self.tmpdir, params = None) + self.test = NuleculeComponent(name = None, basepath = self.example_dir, params = None) def tearDown(self): pass