Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cyberrumor/ammo
/ functions
Functions
515 in github.com/cyberrumor/ammo
⨍
Functions
515
◇
Types & classes
51
↳
Endpoints
33
Function
test_controller_first_launch
Sanity check the ammo_controller fixture, that it creates the game directory and properly removes it.
test/mod/test_mod_controller.py:16
Function
test_controller_first_launch
Sanity check the ammo_controller fixture, that it creates the game directory and properly removes it.
test/bethesda/test_bethesda_controller.py:17
Function
test_controller_missing_mod
Test that a mod which is specified in ammo.conf but can't be found (because it was deleted from ammo's mod dir) isn't added to mods.
test/mod/test_mod_controller.py:103
Function
test_controller_missing_mod
Test that a mod which is specified in ammo.conf but can't be found (because it was deleted from ammo's mod dir) isn't added to mods.
test/bethesda/test_bethesda_controller.py:225
Function
test_controller_move
Test that moving a mod to a new position causes the components between the old location and the new location to collapse (take out at old
test/mod/test_mod_controller.py:81
Function
test_controller_move
Test that moving a mod or plugin to a new position causes the components between the old location and the new location to collapse (take
test/bethesda/test_bethesda_controller.py:119
Function
test_controller_plugin_not_referenced
Test that when a plugin is absent from plugins.txt and dlclist.txt but present in a mod directory, it's still added to self.plugins.
test/bethesda/test_bethesda_controller.py:99
Function
test_controller_plugin_without_mod
Test that a plugin in Plugins.txt that doesn't have an associated mod is added if Data/<plugin_name> exists and isn't a symlink.
test/bethesda/test_bethesda_controller.py:241
Function
test_controller_plugin_without_mod_is_link
Test that a plugin in Plugins.txt that doesn't have an associated mod isn't added if Data/<plugin_name> exists and is a symlink.
test/bethesda/test_bethesda_controller.py:275
Function
test_controller_plugin_without_mod_or_file
Test that a plugin in Plugins.txt that doesn't have an associated mod isn't added if Data/<plugin_name> doesn't exist.
test/bethesda/test_bethesda_controller.py:313
Function
test_controller_plugin_wrong_spot
Test that a plugin which isn't under Data or the root directory of a mod doesn't appear in mod.plugins.
test/bethesda/test_bethesda_controller.py:498
Function
test_controller_save_dlc
Test that saving DLC doesn't swap the enabled state. This is needed because DLC plugins in Plugins.txt are either absent or begin with an ast
test/bethesda/test_bethesda_controller.py:406
Function
test_controller_subsequent_launch
Ensure ammo behaves correctly when launched against a game that already has mods installed, Plugins.txt populated with a non-default orde
test/mod/test_mod_controller.py:51
Function
test_controller_subsequent_launch
Ensure ammo behaves correctly when launched against a game that already has mods installed, Plugins.txt populated with a non-default orde
test/bethesda/test_bethesda_controller.py:61
Function
test_custom_selection
Test that a file like ~/.local/share/ammo/my_game.json which is formatted correctly produces a valid GameSelection.
test/test_game_controller.py:39
Function
test_custom_selection_bethesda
Test that a file like ~/.local/share/ammo/Skyrim.json which is formatted correctly produces a valid BethesdaGameSelection.
test/test_game_controller.py:70
Function
test_custom_selection_plural
Test that when multiple files like ~/.local/share/ammo/game.json are provided, each of them manifest as a game selection.
test/test_game_controller.py:110
Function
test_deactivate_validation
Install a mod, then check various arguments to "deactivate" for validity
test/mod/test_validation.py:58
Function
test_deactivate_validation
Install a mod, then check various arguments to "deactivate" for validity
test/bethesda/test_bethesda_validation.py:94
Function
test_delete_validation
Delete a valid and invalid mod and download
test/mod/test_validation.py:88
Function
test_delete_validation
Delete a valid and invalid mod, plugin and download
test/bethesda/test_bethesda_validation.py:134
Function
test_disambiguation_activate_garbage
Test that the controller.do_activate command raises a warning if it doesn't get an expected component type.
test/mod/test_disambiguation.py:28
Function
test_disambiguation_activate_garbage
Test that the controller.do_activate command raises a warning if it doesn't get an expected component type.
test/bethesda/test_bethesda_disambiguation.py:42
Function
test_disambiguation_activate_mod
Test that the controller.do_activate command defers to controller.activate_mod when it gets a mod as an argument,
test/mod/test_disambiguation.py:17
Function
test_disambiguation_activate_mod
Test that the controller.do_activate command defers to controller.activate_mod when it gets a mod as an argument,
test/bethesda/test_bethesda_disambiguation.py:19
Function
test_disambiguation_activate_plugin
Test that the controller.do_activate command defers to controller.activate_plugin when it gets a plugin as an argument,
test/bethesda/test_bethesda_disambiguation.py:31
Function
test_disambiguation_deactivate_garbage
()
test/mod/test_disambiguation.py:51
Function
test_disambiguation_deactivate_garbage
()
test/bethesda/test_bethesda_disambiguation.py:78
Function
test_disambiguation_deactivate_mod
Test that the controller.do_deactivate command defers to controller.deactivate_mod when it gets a mod as an argument, and raises a warnin
test/mod/test_disambiguation.py:39
Function
test_disambiguation_deactivate_mod
Test that the controller.do_deactivate command defers to controller.deactivate_mod when it gets a mod as an argument, and raises a warnin
test/bethesda/test_bethesda_disambiguation.py:53
Function
test_disambiguation_deactivate_plugin
Test that the controller.do_deactivate command defers to controller.deactivate_plugin when it gets a mod as an argument, and raises a war
test/bethesda/test_bethesda_disambiguation.py:66
Function
test_disambiguation_delete_download
Test that controller.do_delete defers to controller.delete_download when it gets a download as an arg.
test/test_tool_controller.py:120
Function
test_disambiguation_delete_download
Test that the controller.do_delete command defers to controller.delete_downlaod when it gets a download as an arg.
test/mod/test_disambiguation.py:71
Function
test_disambiguation_delete_download
Test that the controller.do_delete command defers to controller.delete_downlaod when it gets a download as an arg.
test/bethesda/test_bethesda_disambiguation.py:98
Function
test_disambiguation_delete_garbage
Test that controller.do_delete raises a warning when it gets an unexpected component.
test/test_tool_controller.py:130
Function
test_disambiguation_delete_garbage
Test that the controller.do_delete command raises a warning when it doesn't get an expected component type.
test/mod/test_disambiguation.py:81
Function
test_disambiguation_delete_garbage
Test that the controller.do_delete command raises a warning when it doesn't get an expected component type.
test/bethesda/test_bethesda_disambiguation.py:119
Function
test_disambiguation_delete_mod
Test that the controller.do_delete command defers to controller.delete_mod when it gets a mod as an argument.
test/mod/test_disambiguation.py:58
Function
test_disambiguation_delete_mod
Test that the controller.do_delete command defers to controller.delete_mod when it gets a mod as an argument.
test/bethesda/test_bethesda_disambiguation.py:85
Function
test_disambiguation_delete_plugin
Test that the controller.do_delete command defers to controller.delete_downlaod when it gets a download as an arg.
test/bethesda/test_bethesda_disambiguation.py:109
Function
test_disambiguation_delete_tool
Test that controller.do_delete defers to controller.delete_tool when it gets a tool as an arg.
test/test_tool_controller.py:108
Function
test_disambiguation_move_garbage
Test that the controller.do_move command raises a warning when it gets an unexpected component type.
test/mod/test_disambiguation.py:103
Function
test_disambiguation_move_garbage
Test that the controller.do_move command raises a warning when it gets an unexpected component type.
test/bethesda/test_bethesda_disambiguation.py:153
Function
test_disambiguation_move_mod
Test that the controller.do_move command defers to controller.move_mod when it gets a mod as an arg.
test/mod/test_disambiguation.py:92
Function
test_disambiguation_move_mod
Test that the controller.do_move command defers to controller.move_mod when it gets a mod as an arg.
test/bethesda/test_bethesda_disambiguation.py:130
Function
test_disambiguation_move_plugin
Test that the controller.do_move command defers to controller.move_plugin when it gets a plugin as an arg.
test/bethesda/test_bethesda_disambiguation.py:142
Function
test_disambiguation_rename_download
Test that controller.do_rename defers to controller.rename_download when it gets download as an arg.
test/test_tool_controller.py:153
Function
test_disambiguation_rename_download
Test that the controller.do_rename command defers to controller.rename_download when ti gets a download as an arg.
test/mod/test_disambiguation.py:114
Function
test_disambiguation_rename_download
Test that the controller.do_rename command defers to controller.rename_download when ti gets a download as an arg.
test/bethesda/test_bethesda_disambiguation.py:164
Function
test_disambiguation_rename_garbage
Test that controller.rename raises a warning when it gets an unexpected component.
test/test_tool_controller.py:163
Function
test_disambiguation_rename_garbage
Test that the controller.do_rename command raises a warning when it gets an unexpected component.
test/mod/test_disambiguation.py:135
Function
test_disambiguation_rename_garbage
Test that the controller.do_rename command raises a warning when it gets an unexpected component.
test/bethesda/test_bethesda_disambiguation.py:185
Function
test_disambiguation_rename_mod
Test that the controller.do_rename command defers to controller.rename_download when it gets a download as an arg.
test/mod/test_disambiguation.py:125
Function
test_disambiguation_rename_mod
Test that the controller.do_rename command defers to controller.rename_download when it gets a download as an arg.
test/bethesda/test_bethesda_disambiguation.py:175
Function
test_disambiguation_rename_tool
Test that controller.do_rename defers to controller.rename_tool when it gets tool as an arg.
test/test_tool_controller.py:141
Function
test_dlc_order
Test that DLC gets loaded at the bottom of controller.plugins as disabled if it wasn't listed in plugins.txt. If it's listed in plugins.
test/bethesda/test_bethesda_controller.py:610
Function
test_download_controller_str
Test that the download controller looks the way we expect it to.
test/test_download_controller.py:74
Function
test_duplicate_filenames
Test that installing a mod that contains the same filename several times in different folders installs all of those files.
test/mod/test_compatibility.py:12
Function
test_duplicate_filenames
Test that installing a mod that contains the same filename several times in different folders installs all of those files.
test/bethesda/test_bethesda_compatibility.py:12
Function
test_duplicate_plugin
Test that installing two mods with the same plugin doesn't show more than one plugin in the plugins list.
test/bethesda/test_bethesda_conflict_resolution.py:15
Function
test_extract_dll_mod
Tests that custom DLLs extract to expected location.
test/mod/test_compatibility.py:80
Function
test_extract_dll_mod
Tests that custom DLLs extract to expected location.
test/bethesda/test_bethesda_compatibility.py:76
Function
test_extract_double_dir_same_name
Test that extracting a mod which contains a single folder, where that single folder would have its files elevated above it, is resilient
test/mod/test_compatibility.py:197
Function
test_extract_double_dir_same_name
Test that extracting a mod which contains a single folder, where that single folder would have its files elevated above it, is resilient
test/bethesda/test_bethesda_compatibility.py:185
Function
test_extract_edit_scripts
Test that installing a mod which only contains edit scripts extracts correctly.
test/mod/test_compatibility.py:179
Function
test_extract_edit_scripts
Test that installing a mod which only contains edit scripts extracts correctly.
test/bethesda/test_bethesda_compatibility.py:167
Function
test_extract_extra_folder_mod
Tests that installing a mod with no data folder causes files to extract to expected locations.
test/mod/test_compatibility.py:107
Function
test_extract_extra_folder_mod
Tests that installing a mod with no data folder causes files to extract to expected locations.
test/bethesda/test_bethesda_compatibility.py:101
Function
test_extract_fake_fomod
Tests that installing a mod that has a fomod dir but no ModuleConfig.txt extracts files to the expected locations. This behavior is neede
test/mod/test_compatibility_fomod.py:140
Function
test_extract_fake_fomod
Tests that installing a mod that has a fomod dir but no ModuleConfig.txt extracts files to the expected locations. This behavior is neede
test/bethesda/test_bethesda_compatibility_fomod.py:139
Function
test_extract_no_data_folder_dll
Tests that installing a mod that contains only a dll with no data folder causes files to extract to the expected location.
test/mod/test_compatibility.py:157
Function
test_extract_no_data_folder_dll
Tests that installing a mod that contains only a dll with no data folder causes files to extract to the expected location.
test/bethesda/test_bethesda_compatibility.py:147
Function
test_extract_no_data_folder_plugin
Tests that installing a mod with no data folder causes files to extract to expected locations.
test/mod/test_compatibility.py:137
Function
test_extract_no_data_folder_plugin
Tests that installing a mod with no data folder causes files to extract to expected locations.
test/bethesda/test_bethesda_compatibility.py:129
Function
test_extract_pak_mods
Test that installing a pak mod which only includes the ~mods directory is extracted without modification. . ├── pak_mods.7z │ └
test/bethesda/test_oblivion_remastered_compatibility.py:55
Function
test_extract_pak_no_dir
Test that installing a pak mod which contains only loose files without any sort of directory structure is extracted without modification.
test/bethesda/test_oblivion_remastered_compatibility.py:101
Function
test_extract_pak_root
Test that installing a pak mod which contains all the directories up to and including ~mods is extracted without modification. . ├──
test/bethesda/test_oblivion_remastered_compatibility.py:10
Function
test_extract_script_extender
Tests that installing a script extender causes files to extract to expected locations.
test/mod/test_compatibility.py:26
Function
test_extract_script_extender
Tests that installing a script extender causes files to extract to expected locations.
test/bethesda/test_bethesda_compatibility.py:26
Function
test_extract_script_extender_plugin
Tests that installing script extender plugins cause files to be extracted to the correct location.
test/mod/test_compatibility.py:60
Function
test_extract_script_extender_plugin
Tests that installing script extender plugins cause files to be extracted to the correct location.
test/bethesda/test_bethesda_compatibility.py:58
Function
test_find_activate_all_mods
Test that narrowing visible mods with the 'find' command then opting to activate 'all' only activates visible mods.
test/mod/test_find.py:44
Function
test_find_activate_all_mods
Test that narrowing visible mods with the 'find' command then opting to activate 'all' only activates visible mods.
test/bethesda/test_bethesda_find.py:45
Function
test_find_activate_all_plugins
Test that narrowing visible plugins with the 'find' command then activating 'all' only activates visible plugins.
test/bethesda/test_bethesda_find.py:86
Function
test_find_activate_hidden_component
Test that the activate command raises a warning when used against hidden components.
test/mod/test_find.py:131
Function
test_find_activate_hidden_component
Test that the activate commands raise a warning when used against hidden components.
test/bethesda/test_bethesda_find.py:248
Function
test_find_deactivate_all_mods
Test that narrowing visible mods with the 'find' command then opting to deactivate 'all' only deactivates visible mods.
test/mod/test_find.py:66
Function
test_find_deactivate_all_mods
Test that narrowing visible mods with the 'find' command then opting to deactivate 'all' only deactivates visible mods.
test/bethesda/test_bethesda_find.py:67
Function
test_find_deactivate_all_plugins
Test that narrowing visible plugins with the 'find' command then deactivating 'all' only deactivates visible plugins.
test/bethesda/test_bethesda_find.py:109
Function
test_find_deactivate_hidden_component
Test that the deactivate command raises a warning when used against hidden components.
test/mod/test_find.py:144
Function
test_find_deactivate_hidden_component
Test that the deactivate commands raise a warning when used against hidden components.
test/bethesda/test_bethesda_find.py:264
Function
test_find_delete_all_mods
Test that narrowing visible mods with 'find' then deleting all will only delete visible mods.
test/mod/test_find.py:85
Function
test_find_delete_all_mods
Test that narrowing visible mods with 'find' then deleting all will only delete visible mods.
test/bethesda/test_bethesda_find.py:128
Function
test_find_delete_hidden_component
Test that the delete command raises a warning when used against hidden components.
test/mod/test_find.py:157
Function
test_find_delete_hidden_component
Test that the delete commands raise a warning when used against hidden components.
test/bethesda/test_bethesda_find.py:280
Function
test_find_dlc_no_crash
The find command references DLC, which is an instance of Plugin with self.mod == None. The find command references self.mod.name for plugins.
test/bethesda/test_bethesda_find.py:207
Function
test_find_downloads
Test that `find downloads` shows downloads but nothing else.
test/mod/test_find.py:199
Function
test_find_filter_persists_after_refresh
Test that installing a mod doesn't remove the filter.
test/mod/test_find.py:101
Function
test_find_filter_persists_after_refresh
Test that installing a mod doesn't remove the filter.
test/bethesda/test_bethesda_find.py:177
Function
test_find_fomods
Test that "find fomod" or "find fomods" will match all fomods.
test/mod/test_find.py:115
← previous
next →
301–400 of 515, ranked by callers