Commit 91a9efcd authored by Łukasz Nowak's avatar Łukasz Nowak

Demarshall in order to simplify comparision.

parent 9e89caca
......@@ -5,6 +5,7 @@ import urlparse
import json
import tempfile
import os
import xml_marshaller
class Person_requestSoftwareInstanceSimulator:
def __init__(self, outfile):
......@@ -131,6 +132,8 @@ class TestVifibSlaposRestAPIV1(ERP5TypeTestCase):
('slave', 'shared'),
('status', 'state')
):
if k_j in ('sla', 'parameter'):
reckwargs[k_i] = xml_marshaller.xml_marshaller.loads(reckwargs.pop(k_i))
kwargs[k_i] = kwargs.pop(k_j)
self.assertEqual(args, recargs)
self.assertEqual(kwargs, reckwargs)
......
9
\ No newline at end of file
10
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment