flipping the stem/dirname arguments

This commit is contained in:
Martin A. Brown 2016-02-17 13:50:31 -08:00
parent 2bcb55e2a0
commit 2825263f20
1 changed files with 1 additions and 1 deletions

View File

@ -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"))