test: adjust param for get_user_input_stream
This commit is contained in:
parent
ce50162213
commit
1d4c61aa86
1 changed files with 7 additions and 7 deletions
|
|
@ -180,13 +180,13 @@ class TestBoilerPlate(unittest.TestCase):
|
|||
os.access(frappe.get_app_path("frappe"), os.W_OK), "Only run if frappe app paths is writable"
|
||||
)
|
||||
def test_new_patch_util(self):
|
||||
user_inputs = {
|
||||
"app_name": "frappe",
|
||||
"doctype": "User",
|
||||
"docstring": "Delete all users",
|
||||
"file_name": "", # Accept default
|
||||
"patch_folder_confirmation": "Y",
|
||||
}
|
||||
user_inputs = [
|
||||
"frappe", # app name
|
||||
"User", # doctype
|
||||
"Delete all users", # docstring
|
||||
"", # file_name: accept default
|
||||
"Y", # confirm patch folder
|
||||
]
|
||||
|
||||
patches_txt = pathlib.Path(pathlib.Path(frappe.get_app_path("frappe", "patches.txt")))
|
||||
original_patches = patches_txt.read_text()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue