@@ -67,7 +67,7 @@ def setUpClass(cls):
67
67
)
68
68
69
69
def _date (self , date ):
70
- """ convert MM-DD to current year date YYYY-MM-DD """
70
+ """convert MM-DD to current year date YYYY-MM-DD"""
71
71
return time .strftime ("%Y-" + date )
72
72
73
73
def _days (self , start_date , end_date ):
@@ -118,7 +118,7 @@ def _create_cutoff(self, date):
118
118
return cutoff
119
119
120
120
def test_with_cutoff_before_after_and_in_the_middle (self ):
121
- """ basic test with cutoff before, after and in the middle """
121
+ """basic test with cutoff before, after and in the middle"""
122
122
amount = self ._days ("04-01" , "06-30" )
123
123
amount_2months = self ._days ("05-01" , "06-30" )
124
124
# invoice to be spread of 3 months
@@ -137,7 +137,7 @@ def test_with_cutoff_before_after_and_in_the_middle(self):
137
137
self .assertEqual (amount , cutoff .total_cutoff_amount )
138
138
139
139
def tests_1 (self ):
140
- """ generate move, and test move lines grouping """
140
+ """generate move, and test move lines grouping"""
141
141
# two invoices
142
142
amount = self ._days ("04-01" , "06-30" )
143
143
self ._create_invoice ("01-15" , amount , start_date = "04-01" , end_date = "06-30" )
0 commit comments