From 2825263f20852e74e4192a235f19c5611fefe886 Mon Sep 17 00:00:00 2001 From: "Martin A. Brown" Date: Wed, 17 Feb 2016 13:50:31 -0800 Subject: [PATCH] flipping the stem/dirname arguments --- tests/test_outputs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_outputs.py b/tests/test_outputs.py index 9a2dd4d..d548b9d 100644 --- a/tests/test_outputs.py +++ b/tests/test_outputs.py @@ -19,7 +19,7 @@ datadir = os.path.join(os.path.dirname(__file__), 'testdata') class TestOutputNamingConvention(unittest.TestCase): def test_namesets(self): - onc = OutputNamingConvention("Stem", "/path/to/output/") + onc = OutputNamingConvention("/path/to/output/", "Stem") self.assertTrue(onc.name_txt.endswith(".txt")) self.assertTrue(onc.name_pdf.endswith(".pdf")) self.assertTrue(onc.name_html.endswith(".html"))