Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
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)