equal
deleted
inserted
replaced
31 |
31 |
32 |
32 |
33 class FakeConfig(dict, BaseApptestConfiguration): |
33 class FakeConfig(dict, BaseApptestConfiguration): |
34 translations = {} |
34 translations = {} |
35 uiprops = {} |
35 uiprops = {} |
|
36 https_uiprops = {} |
36 apphome = None |
37 apphome = None |
37 debugmode = False |
38 debugmode = False |
38 def __init__(self, appid='data', apphome=None, cubes=()): |
39 def __init__(self, appid='data', apphome=None, cubes=()): |
39 self.appid = appid |
40 self.appid = appid |
40 self.apphome = apphome |
41 self.apphome = apphome |
42 self['auth-mode'] = 'cookie' |
43 self['auth-mode'] = 'cookie' |
43 self['uid'] = None |
44 self['uid'] = None |
44 self['base-url'] = BASE_URL |
45 self['base-url'] = BASE_URL |
45 self['rql-cache-size'] = 3000 |
46 self['rql-cache-size'] = 3000 |
46 self.datadir_url = BASE_URL + 'data/' |
47 self.datadir_url = BASE_URL + 'data/' |
|
48 self.https_datadir_url = (BASE_URL + 'data/').replace('http://', 'https://') |
47 |
49 |
48 def cubes(self, expand=False): |
50 def cubes(self, expand=False): |
49 return self._cubes |
51 return self._cubes |
50 |
52 |
51 def sources(self): |
53 def sources(self): |