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
Method
remove_empty_dirs
(path)
test/test_download_controller.py:55
Method
remove_empty_dirs
(path)
test/mod/mod_common.py:69
Method
remove_empty_dirs
(path)
test/bethesda/bethesda_common.py:71
Method
rename_download
Names may contain alphanumerics, periods, or underscores.
ammo/controller/download.py:208
Method
requires_sync
Decorator which prevents decorated function from executing if self.changes is True.
ammo/controller/bethesda.py:876
Method
requires_sync
Decorator which prevents decorated function from executing if self.changes is True.
ammo/controller/mod.py:847
Method
save_order
Writes ammo.conf and Plugins.txt.
ammo/controller/bethesda.py:535
Method
set_mod_state
Activate or deactivate a mod. If a mod with plugins was deactivated, remove those plugins from self.plugins if they aren't al
ammo/controller/bethesda.py:583
Method
setup_controller
(self, request)
test/mod/test_autocomplete.py:27
Method
setup_controller
(self, request)
test/mod/test_autocomplete.py:118
Method
setup_controller
(self, request)
test/mod/test_autocomplete.py:215
Method
setup_controller
(self, request)
test/mod/test_autocomplete.py:315
Method
setup_controller
(self, request)
test/bethesda/test_bethesda_autocomplete.py:33
Method
setup_controller
(self, request)
test/bethesda/test_bethesda_autocomplete.py:135
Method
setup_controller
(self, request)
test/bethesda/test_bethesda_autocomplete.py:235
Method
setup_controller
(self, request)
test/bethesda/test_bethesda_autocomplete.py:348
Method
setup_ui
(self, request)
test/test_ui.py:112
Method
setup_ui
(self, request)
test/test_ui.py:170
Method
setup_ui
(self, request)
test/test_ui.py:228
Function
test_activate_dll_mod
Tests that activating a custom DLL mod causes links to be created in the expected location.
test/mod/test_compatibility.py:93
Function
test_activate_dll_mod
Tests that activating a custom DLL mod causes links to be created in the expected location.
test/bethesda/test_bethesda_compatibility.py:88
Function
test_activate_extra_folder_mod
Tests that activating a mod that has a plugin but no data folder causes files to install to expected location.
test/mod/test_compatibility.py:122
Function
test_activate_extra_folder_mod
Tests that activating a mod that has a plugin but no data folder causes files to install to expected location.
test/bethesda/test_bethesda_compatibility.py:115
Function
test_activate_fake_fomod
Tests that activating a mod that has a fomod dir but no ModuleConfig.txt installs symlinks to the expected locations. Notably, anything i
test/mod/test_compatibility_fomod.py:153
Function
test_activate_fake_fomod
Tests that activating a mod that has a fomod dir but no ModuleConfig.txt installs symlinks to the expected locations. Notably, anything i
test/bethesda/test_bethesda_compatibility_fomod.py:152
Function
test_activate_no_data_folder_dll
Tests that activating a mod that has a dll on the surface level, where that dll is the only file, causes an accurate link for that file.
test/mod/test_compatibility.py:168
Function
test_activate_no_data_folder_dll
Tests that activating a mod that has a dll on the surface level, where that dll is the only file, causes an accurate link for that file.
test/bethesda/test_bethesda_compatibility.py:157
Function
test_activate_no_data_folder_plugin
Tests that activating a mod with no data folder causes accurate links to be created.
test/mod/test_compatibility.py:147
Function
test_activate_no_data_folder_plugin
Tests that activating a mod with no data folder causes accurate links to be created.
test/bethesda/test_bethesda_compatibility.py:138
Function
test_activate_pak_mods
Test that activating a pak mod which only includes the ~mods directory has files installed to the correct location under the game directo
test/bethesda/test_oblivion_remastered_compatibility.py:74
Function
test_activate_pak_no_dir
Test that activating a pak mod which contains only loose files and no directories leading up to the installation location results in files
test/bethesda/test_oblivion_remastered_compatibility.py:120
Function
test_activate_pak_root
Test that activating a pak mod which contains all the directories up to and including ~mods causes files to be installed in the correct l
test/bethesda/test_oblivion_remastered_compatibility.py:32
Function
test_activate_script_extender
Tests that activating a script extender causes links to be created accurately.
test/mod/test_compatibility.py:43
Function
test_activate_script_extender
Tests that activating a script extender causes links to be created accurately.
test/bethesda/test_bethesda_compatibility.py:42
Function
test_activate_script_extender_plugin
Tests that activating script extender plugins causes files to exist in the expected location.
test/mod/test_compatibility.py:70
Function
test_activate_script_extender_plugin
Tests that activating script extender plugins causes files to exist in the expected location.
test/bethesda/test_bethesda_compatibility.py:67
Function
test_activate_validation
Install a mod, then check various arguments to "activate" for validity
test/mod/test_validation.py:43
Function
test_activate_validation
Install a mod, then check various arguments to "activate" for validity
test/bethesda/test_bethesda_validation.py:66
Method
test_autocomplete_bethesda_mods_absent
( self, buf: str, text: str, expected: list[str] )
test/bethesda/test_bethesda_autocomplete.py:113
Method
test_autocomplete_bethesda_mods_present_plural
( self, buf: str, text: str, expected: list[str] )
test/bethesda/test_bethesda_autocomplete.py:329
Method
test_autocomplete_bethesda_mods_present_singular
( self, buf: str, text: str, expected: list[str] )
test/bethesda/test_bethesda_autocomplete.py:213
Method
test_autocomplete_bethesda_ui
(self, buf: str, text: str, expected: list[str])
test/test_ui.py:215
Method
test_autocomplete_bethesda_ui
(self, buf: str, text: str, expected: list[str])
test/test_ui.py:261
Method
test_autocomplete_mod_ui
(self, buf: str, text: str, expected: list[str])
test/test_ui.py:157
Method
test_autocomplete_mods_absent
(self, buf: str, text: str, expected: list[str])
test/mod/test_autocomplete.py:105
Method
test_autocomplete_mods_present_plural
( self, buf: str, text: str, expected: list[str] )
test/mod/test_autocomplete.py:300
Method
test_autocomplete_mods_present_singular
( self, buf: str, text: str, expected: list[str] )
test/mod/test_autocomplete.py:200
Method
test_autocomplete_tag_all_visible
( self, buf: str, text: str, expected: list[str] )
test/mod/test_autocomplete.py:345
Method
test_autocomplete_tag_all_visible
( self, buf: str, text: str, expected: list[str] )
test/bethesda/test_bethesda_autocomplete.py:375
Method
test_autocomplete_tag_hidden_mods
After hiding some mods with find, tag autocomplete should only show visible mod indices.
test/mod/test_autocomplete.py:357
Method
test_autocomplete_tag_hidden_mods
After hiding some mods with find, tag autocomplete should only show visible mod indices.
test/bethesda/test_bethesda_autocomplete.py:387
Method
test_autocomplete_tag_no_visible_mods
When no mods are visible, tag autocomplete should return nothing.
test/mod/test_autocomplete.py:388
Method
test_autocomplete_tag_no_visible_mods
When no mods are visible, tag autocomplete should return nothing.
test/bethesda/test_bethesda_autocomplete.py:418
Function
test_base_object_swapper
Test that configuring base object swapper behaves correctly. This ensures the conversion of the 'source' folder from the XML into a full
test/mod/test_compatibility_fomod.py:27
Function
test_base_object_swapper
Test that configuring base object swapper behaves correctly. This ensures the conversion of the 'source' folder from the XML into a full
test/bethesda/test_bethesda_compatibility_fomod.py:27
Function
test_bethesda_controller_str
Test that the BethesdaController looks the way we expect.
test/bethesda/test_bethesda_controller.py:651
Function
test_bool_prompt_controller
This tests that BoolPromptController sets self.return_vaule to True when the user types "yes" at the prompt, and False when the user type
test/test_bool_prompt_controller.py:24
Function
test_cast_to_bool
()
test/test_ui.py:72
Function
test_cast_to_bool_union
()
test/test_ui.py:85
Function
test_cast_to_enum
()
test/test_ui.py:55
Function
test_cast_to_enum_union
()
test/test_ui.py:65
Function
test_cast_to_int
()
test/test_ui.py:41
Function
test_cast_to_int_union
()
test/test_ui.py:47
Function
test_cast_to_str
()
test/test_ui.py:94
Function
test_cast_to_str_union
()
test/test_ui.py:101
Function
test_collisions
Don't crash if collisions gets bad arguments
test/mod/test_validation.py:264
Function
test_collisions
Test that the 'collisions' command indicates all and only conflicting files, indicating the conflict winning mod with an "*".
test/mod/test_conflict_resolution.py:268
Function
test_collisions
Test that the 'collisions' command indicates all and only conflicting files, indicating the conflict winning mod with an "*".
test/bethesda/test_bethesda_conflict_resolution.py:387
Function
test_collisions
Don't crash if collisions gets bad arguments
test/bethesda/test_bethesda_validation.py:356
Function
test_configure
Test that the configure command is only calling methods that actually exist.
test/mod/test_compatibility_fomod.py:16
Function
test_configure
Test that the configure command is only calling methods that actually exist.
test/bethesda/test_bethesda_compatibility_fomod.py:16
Function
test_configure_high_index
Don't crash when configuring an index out of range.
test/mod/test_validation.py:246
Function
test_configure_high_index
Don't crash when configuring an index out of range.
test/bethesda/test_bethesda_validation.py:338
Function
test_configure_nan
Don't crash when configuring nan
test/mod/test_validation.py:255
Function
test_configure_nan
Don't crash when configuring nan
test/bethesda/test_bethesda_validation.py:347
Function
test_conflict_resolution
Install two mods with the same files. Verify the symlinks point back to the mod last in the load order. Conflicts for all files are won
test/mod/test_conflict_resolution.py:17
Function
test_conflict_resolution
Install two mods with the same files. Verify the symlinks point back to the mod last in the load order. Conflicts for all files and plug
test/bethesda/test_bethesda_conflict_resolution.py:34
Function
test_conflicting_mods_conflict_after_rename
Test that conflicting mods still conflict after rename
test/mod/test_conflict_resolution.py:249
Function
test_conflicting_mods_conflict_after_rename
Test that conflicting mods still conflict after rename
test/bethesda/test_bethesda_conflict_resolution.py:373
Function
test_conflicting_mods_have_conflict_flag_after_actviate
Test that only conflicting mods have mod.conflict set to True after activate.
test/mod/test_conflict_resolution.py:149
Function
test_conflicting_mods_have_conflict_flag_after_actviate
Test that only conflicting mods have mod.conflict set to True after activate.
test/bethesda/test_bethesda_conflict_resolution.py:289
Function
test_conflicting_mods_have_conflict_flag_after_deactivate
Test that only conflicting mods have mod.conflict set to True after deactivate.
test/mod/test_conflict_resolution.py:187
Function
test_conflicting_mods_have_conflict_flag_after_deactivate
Test that only conflicting mods have mod.conflict set to True after deactivate.
test/bethesda/test_bethesda_conflict_resolution.py:322
Function
test_conflicting_mods_have_conflict_flag_after_install
Test that only conflicting mods have mod.conflict set to True after install.
test/mod/test_conflict_resolution.py:79
Function
test_conflicting_mods_have_conflict_flag_after_install
Test that only conflicting mods have mod.conflict set to True after install.
test/bethesda/test_bethesda_conflict_resolution.py:229
Function
test_conflicting_mods_have_conflict_flag_after_move
Test that only conflicting mods have mod.conflict set to True after move.
test/mod/test_conflict_resolution.py:113
Function
test_conflicting_mods_have_conflict_flag_after_move
Test that only conflicting mods have mod.conflict set to True after move.
test/bethesda/test_bethesda_conflict_resolution.py:258
Function
test_conflicting_mods_only_conflict_when_activated
Test that only activated mods are considered when determining conflicts.
test/mod/test_conflict_resolution.py:223
Function
test_conflicting_mods_only_conflict_when_activated
Test that only activated mods are considered when determining conflicts.
test/bethesda/test_bethesda_conflict_resolution.py:353
Function
test_conflicting_plugins_delete
Install two mods with the same files. Delete the one that is winning the conflict for the plugin. Test that the plugin isn't removed fro
test/bethesda/test_bethesda_conflict_resolution.py:148
Function
test_conflicting_plugins_delete_plugin
Install two mods with the same files. Delete a plugin provided by both mods. Expect the plugin to be deleted from the winning mod only.
test/bethesda/test_bethesda_conflict_resolution.py:169
Function
test_conflicting_plugins_disable
Install two mods with the same files. Disable the one that is winning the conflict for the plugin. Test that the plugin isn't removed fr
test/bethesda/test_bethesda_conflict_resolution.py:98
Function
test_conflicting_plugins_mult_delete_plugin
Install two mods with the same plugin. One of those mods has an extra plugin by the same name but in somewhere besides Data. Expect the plugi
test/bethesda/test_bethesda_conflict_resolution.py:189
Function
test_controller_deactivate_mod_with_multiple_plugins
Test that disabling a mod that contains multiple plugins actually causes all of that mod's plugins to disappear.
test/bethesda/test_bethesda_controller.py:449
Function
test_controller_delete_plugin
Test that deleting a plugin removes the plugin from the parent mod's files somewhere under ~/.local/share/ammo and doesn't leave a broken
test/bethesda/test_bethesda_controller.py:466
Function
test_controller_disabled_broken_mod_enabled_plugin
Test that a disabled mod with an enabled plugin doesn't automatically enable the mod if the mod was installed incorrectly. This can happe
test/bethesda/test_bethesda_controller.py:191
Function
test_controller_dlc_activated
Test that a plugin in dlcList.txt is considered activated when it is also present in Plugins.txt. Ammo conditionally expects the plugin t
test/bethesda/test_bethesda_controller.py:366
Function
test_controller_dlc_deactivated
Test that a plugin in dlcList.txt is not considered activated when it is not present in Plugins.txt.
test/bethesda/test_bethesda_controller.py:333
Function
test_controller_enabled_mod_is_missing_plugin
Test that when an enabled mod has an enabled plugin when ammo starts, the plugin appears as disabled if the plugin's symlink is missing.
test/bethesda/test_bethesda_controller.py:144
Function
test_controller_enabled_plugin_is_broken_symlink
Test that when an enabled plugin's symlink points at a non-existing file, the plugin is not shown.
test/bethesda/test_bethesda_controller.py:169
← previous
next →
201–300 of 515, ranked by callers