mirror of
				https://github.com/ae-utbm/sith.git
				synced 2025-11-04 11:03:04 +00:00 
			
		
		
		
	Testing another regex
This commit is contained in:
		
							
								
								
									
										2
									
								
								.github/workflows/unittests.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/unittests.yml
									
									
									
									
										vendored
									
									
								
							@@ -19,7 +19,7 @@ jobs:
 | 
				
			|||||||
        uses: technote-space/get-diff-action@v6
 | 
					        uses: technote-space/get-diff-action@v6
 | 
				
			||||||
        id: git-diff
 | 
					        id: git-diff
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          PATTERNS: /**/*.py
 | 
					          PATTERNS: +/**/*.py
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      - name: Set up python
 | 
					      - name: Set up python
 | 
				
			||||||
        if: steps.git-diff.outputs.diff
 | 
					        if: steps.git-diff.outputs.diff
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -76,8 +76,6 @@ class Subscription(models.Model):
 | 
				
			|||||||
    class Meta:
 | 
					    class Meta:
 | 
				
			||||||
        ordering = ["subscription_start"]
 | 
					        ordering = ["subscription_start"]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    def clean(self):
 | 
					    def clean(self):
 | 
				
			||||||
        try:
 | 
					        try:
 | 
				
			||||||
            for s in (
 | 
					            for s in (
 | 
				
			||||||
@@ -99,8 +97,6 @@ class Subscription(models.Model):
 | 
				
			|||||||
            # TODO see SubscriptionForm's clean method
 | 
					            # TODO see SubscriptionForm's clean method
 | 
				
			||||||
            raise ValidationError(_("Subscription error"))
 | 
					            raise ValidationError(_("Subscription error"))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    def save(self):
 | 
					    def save(self):
 | 
				
			||||||
        super(Subscription, self).save()
 | 
					        super(Subscription, self).save()
 | 
				
			||||||
        from counter.models import Customer
 | 
					        from counter.models import Customer
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user