mirror of
https://github.com/ziirish/burp-ui.git
synced 2026-05-21 06:45:24 -06:00
fix: refactor
This commit is contained in:
parent
fb443186b5
commit
dc2debc8f8
1 changed files with 13 additions and 1 deletions
|
|
@ -60,7 +60,19 @@ class BurpuiAPITestCase(TestCase):
|
|||
|
||||
def test_server_config_parsing(self):
|
||||
response = self.client.get('/api/server-config')
|
||||
asse = dict(((u'results', {}),
|
||||
asse = dict((
|
||||
(
|
||||
u'results',
|
||||
{
|
||||
u'common': [],
|
||||
u'boolean': [],
|
||||
u'integer': [],
|
||||
u'multi': [],
|
||||
u'includes': [],
|
||||
u'includes_ext': [],
|
||||
u'clients': []
|
||||
}
|
||||
),
|
||||
(u'boolean', bui.cli.get_parser_attr('boolean_srv')),
|
||||
(u'string', bui.cli.get_parser_attr('string_srv')),
|
||||
(u'integer', bui.cli.get_parser_attr('integer_srv')),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue