Exemplo n.º 1
0
 def test_should_return_dependency_links(self):
     self.project.depends_on("pyassert1",
         url="https://github.com/downloads/halimath/pyassert/pyassert1-0.2.2.tar.gz")
     self.project.depends_on("pyassert2",
         url="https://github.com/downloads/halimath/pyassert/pyassert2-0.2.2.tar.gz")
     self.assertEqual(
         'dependency_links = [ "https://github.com/downloads/halimath/pyassert/pyassert1-0.2.2.tar.gz", "https://github.com/downloads/halimath/pyassert/pyassert2-0.2.2.tar.gz" ],'
         ,\
         build_dependency_links_string(self.project))
Exemplo n.º 2
0
 def test_should_return_empty_string_when_no_link_dependency_is_given(self):
     self.assertEqual("", build_dependency_links_string(self.project))