""" Part of the bsie test suite. A copy of the license is provided with the project. Author: Matthias Baumgartner, 2022 """ # imports import unittest # objects to test from bsie.reader.path import Path ## code ## class TestPath(unittest.TestCase): def test_call(self): self.assertEqual('', Path()('')) self.assertEqual('/tmp/foo/bar', Path()('/tmp/foo/bar')) self.assertEqual('/home/myself/some file', Path()('/home/myself/some file')) ## main ## if __name__ == '__main__': unittest.main() ## EOF ##