mirror of
https://github.com/frappe/bench.git
synced 2025-01-08 16:14:12 +00:00
test: get_dependencies()
This commit is contained in:
parent
03a435330b
commit
7ea09ce7c9
@ -78,3 +78,9 @@ class TestUtils(unittest.TestCase):
|
||||
self.assertEqual("11.0", fake_bench.apps.states["frappe"]["version"])
|
||||
|
||||
shutil.rmtree(bench_dir)
|
||||
|
||||
def test_get_dependencies(self):
|
||||
fake_app = App("frappe/healthcare@develop")
|
||||
self.assertIn("erpnext", fake_app._get_dependencies())
|
||||
fake_app = App("frappe/not_healthcare@not-a-branch")
|
||||
self.assertTrue(len(fake_app._get_dependencies()) == 0)
|
||||
|
Loading…
Reference in New Issue
Block a user