tests.test_manager_sfsu moduleΒΆ

sfsu delegation tests.

sfsu ships no mutating verb, so its install, removal and upgrades run the scoop binary through Delegate. These tests capture the command that delegation builds. They never run a binary.

tests.test_manager_sfsu.test_install_runs_the_scoop_binary(monkeypatch, tmp_path)[source]ΒΆ

The delegated install runs scoop, without the --no-color of sfsu.

sfsu appends that flag to its own commands. The override ends with the call.

tests.test_manager_sfsu.test_delegated_operation_reads_as_its_descriptor_on_the_class()[source]ΒΆ

Read from the class, a delegated operation is the descriptor.

It keeps the documentation of the method it delegates to.

tests.test_manager_sfsu.test_delegate_refuses_an_attribute_that_is_not_a_method()[source]ΒΆ