descriptor parser should be able to parse 'ntor-onion-key'
According to ticket #7867 (moved) when ntor-onion-key descriptor is added in the dir-spec the same has to be updated in the stem(stem.descriptor.server_descriptor.parse_file()) so that it parses this descriptor and doesn't cause failure in test_cached_descriptor
FAIL: test_cached_descriptor
----------------------------------------------------------------------
Traceback:
File "/home/sowmya/hackfest_tor/stem/test/integ/descriptor/server_descriptor.py", line 175, in test_cached_descriptor
self.fail("Unrecognized descriptor content: %s" % unrecognized_lines)
AssertionError: Unrecognized descriptor content: ['ntor-onion-key Od2Sj3UXFyDjwESLXk6fhatqW9z/oBL/vAKJ+tbDqUU=']
Trac:
Username: sonu