コード例 #1
0
 def test_parse3(self):
     r = Repo()
     self.assertEqual(
         r.parseDownloadProperty("repo download test/bla 564/12 repo download test/bla 564/2 test/foo 5/1"),
         ["test/bla 564/12", "test/bla 564/2", "test/foo 5/1"],
     )
     self.assertEqual(r.parseDownloadProperty("repo download test/bla 564/12"), ["test/bla 564/12"])
コード例 #2
0
 def test_parse3(self):
     r = Repo()
     self.assertEqual(
         r.parseDownloadProperty(
             "repo download test/bla 564/12 repo download test/bla 564/2 test/foo 5/1"
         ), ["test/bla 564/12", "test/bla 564/2", "test/foo 5/1"])
     self.assertEqual(
         r.parseDownloadProperty("repo download test/bla 564/12"),
         ["test/bla 564/12"])
コード例 #3
0
 def test_parse1(self):
     r = Repo()
     self.assertEqual(r.parseDownloadProperty("repo download test/bla 564/12"),["test/bla 564/12"])