Skip to content

Commit

Permalink
Add unit test using HTCondor Python API
Browse files Browse the repository at this point in the history
  • Loading branch information
mxk62 committed Apr 22, 2022
1 parent 125cf85 commit 44568d2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/test_lssthtc.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ def testHtcEscapeNoSideEffect(self):
def testHtcEscapeQuot(self):
self.assertEqual(lssthtc.htc_escape(""val""), '"val"')

def testHtcVersion(self):
ver = lssthtc.htc_version()
self.assertRegex(ver, r"^\d+\.\d+\.\d+$")


if __name__ == "__main__":
unittest.main()

0 comments on commit 44568d2

Please sign in to comment.