Join GitHub today
Can't unset a boolean from command line or test #20
sirepo server.py has the config:
From the command line, both
Unsetting the value works because False is the default value:
There would be no way to turn off a value if it has True as the default, for example server.py's enable_source_cache_key.
Possibly related, it isn't possible to turn off a True value from a test, for example, if SIREPO_SERVER_OAUTH_LOGIN=1 in the environment, adding the code below to pkcli/admin_test.py has no effect:
Instead, the value needed to get set directly: