Switch the license validator to use config_provider and have a test license
Fixes the broken tests currently which try (and fail) to read the license file
This commit is contained in:
parent
2a7dbd3348
commit
67f828279d
4 changed files with 23 additions and 9 deletions
2
app.py
2
app.py
|
@ -193,7 +193,7 @@ signer = Signer(app, config_provider)
|
|||
instance_keys = InstanceKeys(app)
|
||||
label_validator = LabelValidator(app)
|
||||
|
||||
license_validator = LicenseValidator(os.path.join(OVERRIDE_CONFIG_DIRECTORY, LICENSE_FILENAME))
|
||||
license_validator = LicenseValidator(config_provider)
|
||||
license_validator.start()
|
||||
|
||||
start_cloudwatch_sender(metric_queue, app)
|
||||
|
|
Reference in a new issue