Skip to content

Commit

Permalink
Remove unused class properties
Browse files Browse the repository at this point in the history
  • Loading branch information
Guitlle committed Aug 27, 2024
1 parent 79ea9b0 commit 9e4bb41
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions kpi/tests/test_usage_calculator.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,6 @@ class BaseServiceUsageTestCase(BaseAssetTestCase):

URL_NAMESPACE = ROUTER_URL_NAMESPACE

attachment_id = 0
counter = None

def setUp(self):
super().setUp()
self.client.login(username='anotheruser', password='anotheruser')
Expand Down Expand Up @@ -128,13 +125,11 @@ def add_submissions(self, count=2):
'_uuid': str(uuid.uuid4()),
'_attachments': [
{
'id': self.attachment_id,
'download_url': 'http://testserver/anotheruser/audio_conversion_test_clip.3gp',
'filename': 'anotheruser/audio_conversion_test_clip.3gp',
'mimetype': 'video/3gpp',
},
{
'id': self.attachment_id + 1,
'download_url': 'http://testserver/anotheruser/audio_conversion_test_image.jpg',
'filename': 'anotheruser/audio_conversion_test_image.jpg',
'mimetype': 'image/jpeg',
Expand All @@ -143,7 +138,6 @@ def add_submissions(self, count=2):
'_submitted_by': 'anotheruser',
}
# increment the attachment ID for each attachment created
self.attachment_id = self.attachment_id + 2
submissions.append(submission)

self.asset.deployment.mock_submissions(submissions)
Expand Down

0 comments on commit 9e4bb41

Please sign in to comment.