aboutsummaryrefslogtreecommitdiff
path: root/tests/backendTest.py
diff options
context:
space:
mode:
authorNavan Chauhan <navanchauhan@gmail.com>2020-07-07 12:49:00 +0530
committerNavan Chauhan <navanchauhan@gmail.com>2020-07-07 12:49:00 +0530
commit8debf21607b40a7c82596bc6e19e7565d6478805 (patch)
tree453facfb7123956e6c503c4adadb94b09ed0ae25 /tests/backendTest.py
parent3b6482cb0ab7eb51756213ccf7b7c8822fbda3d5 (diff)
fixing last of anti-pattern issuesv0.5.0-alpha
Diffstat (limited to 'tests/backendTest.py')
-rw-r--r--tests/backendTest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/backendTest.py b/tests/backendTest.py
index 33b6019..5b5a453 100644
--- a/tests/backendTest.py
+++ b/tests/backendTest.py
@@ -28,7 +28,7 @@ def email(compressedFile):
msg.attach(MIMEText(body, 'plain'))
filename = "Curie_Web_Results_Job_ID_" + str(jobID) + ".zip"
p = MIMEBase('application', 'octet-stream')
- with open((str(zi) + ".zip"), "rb") as attachment:
+ with open((str(compressedFile) + ".zip"), "rb") as attachment:
p.set_payload((attachment).read())
encoders.encode_base64(p)
p.add_header('Content-Disposition', "attachment; filename= %s" % filename)