_utils
Full documentation pages are generated for docstring reference only and may contain symbols imported from other modules. Imported symbols are not distinguished from locally defined symbols and will appear in any module that they are imported into. For better information on where symbols should be imported from, review the sourcecode on the github.
FoSpy._dev.testing._utils
LOGO
module-attribute
LOGO = "\n %@@@@@@@@. .@@@@@@@@% \n @@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@ \n @@ @@@@%#######*@@@@@@@*#######%@@@@ @@ \n @@@%###########@= :@############@@@ \n @%###########@@ @@############@ \n @@@########@@@ @@@########@@@ \n @@@@@@@@@@* *@@@@@@@@@@ \n \n @ \n @ \n @ @ # \n @ @ @ \n @ @ @ \n @ @ @ %- \n @ @= = =@ @@ \n @@ %@ @ @@ %@ @@ @ \n :: ::::::: ::. : :: : :: ::: \n \n @@@@@@@@@ @@@@@@@@@+ \n @@ @@@@@@@# @@ @@@@@@@@ @@ @@: \n @@@@@@@# @* @+ @@@@@@@@@ @@ @@ @@ @@ \n @@ @* @* - @- @@ @@ @@ -@ \n @@ @@@@@@@ @@@@@@@@@ @@@@@@@@ @@@@@@@ \n @@ *@ \n @@ @@@@@@ \n"
PREAMBLE
module-attribute
PREAMBLE = "\n----------------------------------------------\nFoSpy Development Testing Suite\n----------------------------------------------\n"
choice_prompt
Replicates choice /m behavior: Y/N single keypress.
Source code in FoSpy/_dev/testing/_utils.py
file_prompt
file_prompt(
title="Select an input file",
filetypes=[
("FOS files", "*.fos"),
("JSON files", "*.json"),
("All files", "*.*"),
],
)
Source code in FoSpy/_dev/testing/_utils.py
get_current_branch
open_file
print_logo
run_batch
Source code in FoSpy/_dev/testing/_utils.py
run_git
Run a git command and stream output live.