Skip to content

Commit

Permalink
Fix xpathing tests on missing files
Browse files Browse the repository at this point in the history
  • Loading branch information
cdrage committed Feb 18, 2016
1 parent 80a2540 commit bd5106e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Empty file.
Empty file.
4 changes: 2 additions & 2 deletions tests/units/nulecule/test_xpathing.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bd5106e

Please sign in to comment.