Skip to content
Snippets Groups Projects
Commit f46e4dc4 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

unused variable + code indentation

parent 8711bb4c
No related branches found
No related tags found
1 merge request!336Pylint checks
......@@ -50,6 +50,7 @@ disable=
W0603, # global-statement
W1308, # duplicate-string-formatting-argument
W0102, # dangerous-default-value
C0200, # consider-using-enumerate
[FORMAT]
# Maximum number of characters on a single line.
......
......@@ -110,8 +110,8 @@ class MailTemplateModelTests(TestCase):
def test_apply_subject_with_non_existing_custom_field(self):
subject = create_study_subject()
field = CustomStudySubjectField.objects.create(name="Diagnosis", type=CUSTOM_FIELD_TYPE_TEXT,
study=get_test_study(), unique=True)
CustomStudySubjectField.objects.create(name="Diagnosis", type=CUSTOM_FIELD_TYPE_TEXT,
study=get_test_study(), unique=True)
doc = self.create_doc_for_subject(subject, self.french_language, MAIL_TEMPLATE_CONTEXT_SUBJECT)
worker_name = str(self.user.worker)
......@@ -288,4 +288,3 @@ class MailTemplateModelTests(TestCase):
worker_name = str(self.user.worker)
location = appointment.location.name
self.check_doc_contains(doc, [worker_name, location])
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment