예제 #1
0
 def test_parse_version(self):
     self.assertEqual(
         '7',
         p4cache.parse_revision(TestP4Path.rev1)['p4.version'],
     )
예제 #2
0
 def test_parse_committer(self):
     self.assertEqual(
         'autointeg',
         p4cache.parse_revision(TestP4Path.rev1)['p4.committer'],
     )
예제 #3
0
 def test_parse_time(self):
     self.assertEqual(
         '10:53:43',
         p4cache.parse_revision(TestP4Path.rev1)['p4.time'],
     )
예제 #4
0
 def test_parse_date(self):
     self.assertEqual(
         '2017/01/26',
         p4cache.parse_revision(TestP4Path.rev1)['p4.date'],
     )
예제 #5
0
 def test_parse_action(self):
     self.assertEqual(
         'integrate',
         p4cache.parse_revision(TestP4Path.rev1)['p4.action'],
     )
예제 #6
0
 def test_parse_change(self):
     self.assertEqual(
         '12898330',
         p4cache.parse_revision(TestP4Path.rev1)['p4.change'],
     )