Browse Source

Comments fix

Fabs 11 years ago
parent
commit
c2287245d0
3 changed files with 3 additions and 3 deletions
  1. 1 1
      coin/billing/create_subscriptions_invoices.py
  2. 1 1
      coin/billing/models.py
  3. 1 1
      coin/billing/tests.py

+ 1 - 1
coin/billing/create_subscriptions_invoices.py

@@ -40,7 +40,7 @@ def create_member_invoice_for_a_period(member, date):
 	offer_subscriptions = (
 		OfferSubscription.get_member_offer_subscriptions(member,date))
 
-	#Pour chaque abonnement
+	# Pour chaque abonnement
 	for offer_subscription in offer_subscriptions:
 		#Récupère l'offre de l'abonnement
 		offer = offer_subscription.offer

+ 1 - 1
coin/billing/models.py

@@ -41,7 +41,7 @@ class Invoice(models.Model):
       return total.quantize(Decimal('0.01'))
 
     def has_owner(self, uid):
-      "Check if passed uid is owner of the invoice"
+      "Check if passed uid (ex gmajax) is owner of the invoice"
       return self.member.ldap_cn == uid
 
     @staticmethod

+ 1 - 1
coin/billing/tests.py

@@ -12,7 +12,7 @@ class BillingInvoiceCreationTests(TestCase):
 	def test_first_subscription_invoice_has_initial_fees(self):
 		"""
 		Test que la première facture générée pour un abonnement possède les
-		frais de mise en servic
+		frais de mise en service
 		"""
 		# Créé une offre
 		service = Service(name='ServiceTest')