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"])
Beispiel #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"])
Beispiel #3
0
 def test_parse1(self):
     r = Repo()
     self.assertEqual(r.parseDownloadProperty("repo download test/bla 564/12"),["test/bla 564/12"])