From 665f871c09bc623a7fc91354c04f0ea61a42f4b3 Mon Sep 17 00:00:00 2001 From: Ankush Menat Date: Sun, 1 May 2022 21:04:28 +0530 Subject: [PATCH] test: delete duplicate test --- frappe/tests/test_commands.py | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/frappe/tests/test_commands.py b/frappe/tests/test_commands.py index 67de6c6e41..d4a86bd111 100644 --- a/frappe/tests/test_commands.py +++ b/frappe/tests/test_commands.py @@ -413,26 +413,6 @@ class TestCommands(BaseTestCommands): self.assertEqual(self.returncode, 0) self.assertEqual(check_password("Administrator", "test2"), "Administrator") - def test_make_app(self): - user_input = [ - b"Test App", # title - b"This app's description contains 'single quotes' and \"double quotes\".", # description - b"Test Publisher", # publisher - b"example@example.org", # email - b"", # icon - b"", # color - b"MIT", # app_license - ] - app_name = "testapp0" - apps_path = os.path.join(get_bench_path(), "apps") - test_app_path = os.path.join(apps_path, app_name) - self.execute(f"bench make-app {apps_path} {app_name}", {"cmd_input": b"\n".join(user_input)}) - self.assertEqual(self.returncode, 0) - self.assertTrue(os.path.exists(test_app_path)) - - # cleanup - shutil.rmtree(test_app_path) - @skipIf( not ( frappe.conf.root_password and frappe.conf.admin_password and frappe.conf.db_type == "mariadb"