Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(184)

Delta Between Two Patch Sets: tests/test_sale_shipment_cost.py

Issue 4214045: New module sale_shipment_cost (Closed)
Left Patch Set: Created 14 years, 1 month ago
Right Patch Set: Fix editing cost line Created 13 years, 8 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « tests/scenario_sale_shipment_cost.rst ('k') | no next file » | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 #This file is part of Tryton. The COPYRIGHT file at the top level of 2 #This file is part of Tryton. The COPYRIGHT file at the top level of
3 #this repository contains the full copyright notices and license terms. 3 #this repository contains the full copyright notices and license terms.
4 from __future__ import with_statement 4 from __future__ import with_statement
5 import sys, os 5 import sys, os
6 DIR = os.path.abspath(os.path.normpath(os.path.join(__file__, 6 DIR = os.path.abspath(os.path.normpath(os.path.join(__file__,
7 '..', '..', '..', '..', '..', 'trytond'))) 7 '..', '..', '..', '..', '..', 'trytond')))
8 if os.path.isdir(DIR): 8 if os.path.isdir(DIR):
9 sys.path.insert(0, os.path.dirname(DIR)) 9 sys.path.insert(0, os.path.dirname(DIR))
10 10
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 def suite(): 44 def suite():
45 suite = trytond.tests.test_tryton.suite() 45 suite = trytond.tests.test_tryton.suite()
46 suite.addTests(unittest.TestLoader().loadTestsFromTestCase( 46 suite.addTests(unittest.TestLoader().loadTestsFromTestCase(
47 SaleShipmentCostTestCase)) 47 SaleShipmentCostTestCase))
48 suite.addTests(doctest.DocFileSuite('scenario_sale_shipment_cost.rst', 48 suite.addTests(doctest.DocFileSuite('scenario_sale_shipment_cost.rst',
49 setUp=doctest_dropdb, tearDown=doctest_dropdb, encoding='utf-8')) 49 setUp=doctest_dropdb, tearDown=doctest_dropdb, encoding='utf-8'))
50 return suite 50 return suite
51 51
52 if __name__ == '__main__': 52 if __name__ == '__main__':
53 unittest.TextTestRunner(verbosity=2).run(suite()) 53 unittest.TextTestRunner(verbosity=2).run(suite())
LEFTRIGHT

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b