|
@@ -70,7 +70,7 @@ class efactTest(unittest.TestCase):
|
|
self.efactoauth.transform_to_pdf(inv_file, no_validation=True)
|
|
self.efactoauth.transform_to_pdf(inv_file, no_validation=True)
|
|
|
|
|
|
def test_get_all_messages(self):
|
|
def test_get_all_messages(self):
|
|
- self.efactoauth.get_all_messages('17259191', days=10, root_path='17259191', env='prod', extract=True)
|
|
|
|
|
|
+ self.efactoauth.get_all_messages('17259191', days=10, root_path='17259191', env='prod', filter_='P', extract=True)
|
|
|
|
|
|
def test_pretty_messages(self):
|
|
def test_pretty_messages(self):
|
|
self.efactoauth.pretty_messages('17259191', env='prod')
|
|
self.efactoauth.pretty_messages('17259191', env='prod')
|
|
@@ -92,10 +92,10 @@ class efactTest(unittest.TestCase):
|
|
self.efactoauth.addinvoice_tonextup(invoice=inv,
|
|
self.efactoauth.addinvoice_tonextup(invoice=inv,
|
|
kind='service',
|
|
kind='service',
|
|
template=32,
|
|
template=32,
|
|
- exp_plan=370,
|
|
|
|
|
|
+ exp_plan=691,
|
|
warehouse_code=23,
|
|
warehouse_code=23,
|
|
generic=True,
|
|
generic=True,
|
|
- generic_value='3557')
|
|
|
|
|
|
+ generic_value='946')
|
|
os.rename(latest, latest.replace('.xml'.lower(), '_booked.xml'))
|
|
os.rename(latest, latest.replace('.xml'.lower(), '_booked.xml'))
|
|
# os.remove(latest)
|
|
# os.remove(latest)
|
|
|
|
|