Skip to content
Snippets Groups Projects
Commit de981cc3 authored by Jean-Paul Calderone's avatar Jean-Paul Calderone
Browse files

some comment improvements

parent dc21970a
No related branches found
No related tags found
1 merge request!255Add configuration for lease maintenance behavior
......@@ -607,17 +607,16 @@ class LeaseMaintenanceServiceTests(TestCase):
# First build the simple lease maintenance configuration object that
# represents the example to test.
lease_maintenance_configurations().flatmap(
# Then generate build a function that will get us a Tahoe
# configuration that includes at least that lease maintenance
# configuration.
# Then build a function that will get us a Tahoe configuration
# that includes at least that lease maintenance configuration.
lambda lease_maint_config: tahoe_configs(
zkapauthz_v1_configuration=client_lease_maintenance_configurations(
just(lease_maint_config),
),
).map(
# Then bundle up both pieces to pass to the function. By
# preserving the simple lease maintenance configuration and
# making it available to the test, the test logic is much
# preserving the lease maintenance configuration model object
# and making it available to the test, the test logic is much
# simplified (eg, we don't have to read values out of the
# Tahoe configuration to figure out what example we're working
# on).
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment