Skip to content

Commit

Permalink
trying to fix test issue
Browse files Browse the repository at this point in the history
  • Loading branch information
dataspider committed Jul 14, 2024
1 parent 8587bc0 commit 08ab08b
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions pymnet/tests/tutorial_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

class TestTutorials(unittest.TestCase):
def setUp(self):
self.networktypes = "../tutorials/01_networktypes"
self.networktypes = "tutorials/01_networktypes"

def test_networktypes(self):
res = subprocess.call(
Expand All @@ -21,9 +21,7 @@ def test_networktypes(self):
self.assertListEqual(out, out_original)

def tearDown(self):
subprocess.call(
f"rm ../tutorials/{self.networktypes}.nbconvert.ipynb", shell=True
)
subprocess.call(f"rm tutorials/{self.networktypes}.nbconvert.ipynb", shell=True)


def test_tutorials():
Expand Down

0 comments on commit 08ab08b

Please sign in to comment.