mirror of
https://github.com/frappe/bench.git
synced 2024-06-27 11:43:29 +00:00
test: get_required_deps_url()
This commit is contained in:
parent
a26f3ce564
commit
a1e1572937
|
@ -23,3 +23,15 @@ class TestUtils(unittest.TestCase):
|
|||
]
|
||||
)
|
||||
)
|
||||
|
||||
def test_get_required_deps_url(self):
|
||||
self.assertEqual(
|
||||
get_required_deps_url(git_url="https://github.com/frappe/frappe.git", branch=None, repo_name="frappe"),
|
||||
"https://raw.github.com/frappe/frappe/develop/frappe/hooks.py",
|
||||
)
|
||||
self.assertEqual(
|
||||
get_required_deps_url(
|
||||
git_url="https://github.com/frappe/frappe.git", branch="version-13", repo_name="frappe"
|
||||
),
|
||||
"https://raw.github.com/frappe/frappe/version-13/frappe/hooks.py",
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue
Block a user