X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=tests%2Fbindings%2Fpython%2Fbt2%2Ftest_plugin.py;h=de79ebc49081d726efabe57d18d2df5d0e288449;hp=6e461f3ed3dac7c60b8b13c452fcf1c285d59da0;hb=9769184ff689394216fa6ae61142c946033f5d94;hpb=466c8b1539c70d738a0fec74ec45fbe5abd1bcf7 diff --git a/tests/bindings/python/bt2/test_plugin.py b/tests/bindings/python/bt2/test_plugin.py index 6e461f3e..de79ebc4 100644 --- a/tests/bindings/python/bt2/test_plugin.py +++ b/tests/bindings/python/bt2/test_plugin.py @@ -61,7 +61,9 @@ class PluginTestCase(unittest.TestCase): self.assertEqual(self._plugin.name, 'ctf') def test_path(self): - self.assertTrue(self._plugin.path.startswith(_TEST_PLUGIN_PLUGINS_PATH)) + plugin_path = os.path.normcase(self._plugin.path) + plugin_path_env = os.path.normcase(_TEST_PLUGIN_PLUGINS_PATH) + self.assertTrue(plugin_path.startswith(plugin_path_env)) def test_author(self): self.assertTrue('Philippe Proulx' in self._plugin.author)