def testBasicBasePath(self): basicPath: str = TestPyutUtils.BASE_TEST_PATH PyutUtils.setBasePath(basicPath) actualPath: str = PyutUtils.getBasePath() self.assertEqual(TestPyutUtils.BASE_TEST_PATH, actualPath, 'Path should have not been modified')
def testEndsWithBoth(self): srcPath: str = f'{TestPyutUtils.BASE_TEST_PATH}{PyutUtils.STRIP_SRC_PATH_SUFFIX}{PyutUtils.STRIP_TEST_PATH_SUFFIX}' PyutUtils.setBasePath(srcPath) actualPath: str = PyutUtils.getBasePath() self.assertEqual(TestPyutUtils.BASE_TEST_PATH, actualPath, 'Path should have been modified')