Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F29791033
raw.txt
No One
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
CDanis
Jul 17 2019, 3:03 PM
2019-07-17 15:03:09 (UTC+0)
Size
1 KB
Referenced Files
None
Subscribers
None
raw.txt
View Options
======================================================================
ERROR: test_all_cycle (conftool.tests.integration.test_dbconfig.ConftoolTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/cdanis/work/gits/conftool/conftool/tests/integration/test_dbconfig.py", line 79, in test_all_cycle
self.assertEqual(cli.run_action(), 0)
File "/home/cdanis/work/gits/conftool/conftool/extensions/dbconfig/cli.py", line 30, in run_action
result = getattr(self, '_run_on_{}'.format(self.args.object_name))()
File "/home/cdanis/work/gits/conftool/conftool/extensions/dbconfig/cli.py", line 124, in _run_on_config
return self.db_config.commit(batch=self.args.batch, datacenter=dc)
File "/home/cdanis/work/gits/conftool/conftool/extensions/dbconfig/config.py", line 316, in commit
has_diff, diff = self.diff_configs(previous_config, config, datacenter=datacenter)
File "/home/cdanis/work/gits/conftool/conftool/extensions/dbconfig/config.py", line 282, in diff_configs
_to_json_lines(_get(a, [dc, stanza])),
File "/home/cdanis/work/gits/conftool/conftool/extensions/dbconfig/config.py", line 255, in _get
if b not in subtree:
TypeError: argument of type 'NoneType' is not iterable
A: {'dcA': None, 'dcB': None}
B: {'dcA': {'sectionLoads': defaultdict(<function DbConfig.compute_config.<locals>.<lambda> at 0x7f64f4403d90>, {'s1': [{'dba1': 5}, {'dba2': 10}], 's2': [{'dba2': 10}, {}]}), 'groupLoadsBySection': {'s1': defaultdict(<class 'collections.OrderedDict'>, {'recentChanges': OrderedDict([('dba2', 1)])})}, 'readOnlyBySection': {}}} --get-> {'sectionLoads': defaultdict(<function DbConfig.compute_config.<locals>.<lambda> at 0x7f64f4403d90>, {'s1': [{'dba1': 5}, {'dba2': 10}], 's2': [{'dba2': 10}, {}]}), 'groupLoadsBySection': {'s1': defaultdict(<class 'collections.OrderedDict'>, {'recentChanges': OrderedDict([('dba2', 1)])})}, 'readOnlyBySection': {}}
File Metadata
Details
Attached
Mime Type
text/plain; charset=utf-8
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
7744794
Default Alt Text
raw.txt (1 KB)
Attached To
Mode
P8765 (An Untitled Masterwork)
Attached
Detach File
Event Timeline
Log In to Comment