def test_check_path_2(self): self.assertTrue( CABRuleTools.check_path("BTC.CAB.Commons.Core", "BTC/CAB/Commons/Core", pathmodule=posixpath))
def test_check_path_longer_prefix_mixed_path(self): self.assertTrue( CABRuleTools.check_path("BTC.CAB.Commons.Core.TimeSeries", "a/BTC/CAB/Commons.Core/TimeSeries", pathmodule=posixpath))
def test_check_path_longer_all_mixed_path(self): self.assertTrue( CABRuleTools.check_path("X.Y.Commons.Core", "a/X.Y.Commons.Core", pathmodule=posixpath))
def test_check_path_6(self): self.assertFalse( CABRuleTools.check_path("BTC.CAB.Commons.Core", "/Core", pathmodule=posixpath))
def test_check_path_5(self): self.assertTrue( CABRuleTools.check_path("BTC.Application.Test", "BTC\Application\Test", strict=False, pathmodule=ntpath))
def test_check_path_2_unicode(self): self.assertTrue( CABRuleTools.check_path(unicode("BTC.CAB.Commons.Core"), unicode("BTC/CAB/Commons/Core"), pathmodule=posixpath))