Beispiel #1
0
 def test_diff_with_diffent_keys(self):
     """
     Test that different maps are indeed reported different
     """
     map1 = {"file1": 1234}
     map2 = {"file2": 1234}
     assert fileserver.diff_mtime_map(map1, map2) is True
Beispiel #2
0
 def test_diff_with_diffent_values(self):
     '''
     Test that different maps are indeed reported different
     '''
     map1 = {'file1': 12345}
     map2 = {'file1': 1234}
     assert fileserver.diff_mtime_map(map1, map2) is True
Beispiel #3
0
 def test_diff_with_diffent_values(self):
     '''
     Test that different maps are indeed reported different
     '''
     map1 = {'file1': 12345}
     map2 = {'file1': 1234}
     assert fileserver.diff_mtime_map(map1, map2) is True