def test_hash_of_dirs(self): test_dir = os.path.join(os.path.dirname(__file__), "fixtures") h1 = pabot.get_hash_of_dirs([test_dir]) h2 = pabot.get_hash_of_dirs([test_dir, test_dir]) self.assertNotEqual(h1, h2) h3 = pabot.get_hash_of_dirs([os.path.join(test_dir,"suite_one.robot")]) self.assertNotEqual(h1, h3) self.assertNotEqual(h2, h3) h4 = pabot.get_hash_of_dirs([os.path.join("suite_one.robot"), os.path.join("suite_second.robot")]) self.assertNotEqual(h1, h4) self.assertNotEqual(h2, h4) self.assertNotEqual(h3, h4)