~danilo/landscape-charm/openid-configuration

« back to all changes in this revision

Viewing changes to hooks/lib/tests/sample.py

  • Committer: Danilo Šegan
  • Date: 2015-03-26 09:02:12 UTC
  • Revision ID: danilo@canonical.com-20150326090212-l9dujk8vtl43z6a2
Add config to the required_data instead of passing it through leader context.

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
    "secret-token": "landscape-token",
14
14
}
15
15
 
16
 
SAMPLE_LEADER_CONTEXT_DATA_WITH_OPENID = {
17
 
    "database-password": "landscape-sekret",
18
 
    "secret-token": "landscape-token",
19
 
    "openid-provider-url": "http://openid-host/",
20
 
    "openid-logout-url": "http://openid-host/logout",
21
 
}
22
 
 
23
16
SAMPLE_AMQP_UNIT_DATA = {
24
17
    "hostname": "10.0.3.170",
25
18
    "password": "guessme",
26
19
}
 
20
 
 
21
SAMPLE_CONFIG_OPENID_DATA = {
 
22
    "openid-provider-url": "http://openid-host/",
 
23
    "openid-logout-url": "http://openid-host/logout",
 
24
}