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

deprecated method replaced

parent 33f3cff9
No related branches found
No related tags found
1 merge request!336Pylint checks
......@@ -4,6 +4,53 @@ disable=
C0115, # missing-class-docstring
C0116, # missing-function-docstring
# TO BE CHECKED
W0143, # comparison-with-callable
R0201, # no-self-use
R0903, # too-few-public-methods
R1718, # consider-using-set-comprehension
R0205, # useless-object-inheritance
W1202, # logging-format-interpolation
R0902, # too-many-instance-attributes
R0913, # too-many-arguments
W0201, # attribute-defined-outside-init
C0411, # wrong-import-order
C0103, # invalid-name
R0914, # too-many-locals
R1705, # no-else-return
R1710, # inconsistent-return-statements
W1201, # logging-not-lazy
R1702, # too-many-nested-blocks
R0912, # too-many-branches
R0915, # too-many-statements
I1101, # c-extension-no-member
R0904, # too-many-public-methods
C0123, # unidiomatic-typecheck
R1725, # super-with-arguments
E1101, # no-member
W0235, # useless-super-delegation
W0702, # bare-except
R0901, # too-many-ancestors
R1732, # consider-using-with
C0325, # superfluous-parens
E5142, # imported-auth-user
W0511, # fixme
C0207, # use-maxsplit-arg
C0206, # consider-using-dict-items
W0703, # broad-except
R0401, # cyclic-import
R0916, # too-many-boolean-expressions
R1703, # simplifiable-if-statement
R0801, # duplicate-code
E0604, # invalid-all-object
W0106, # expression-not-assigned
R1720, # no-else-raise
R5101, # http-response-with-json-dumps
R5102, # http-response-with-content-type-json
W0603, # global-statement
W1308, # duplicate-string-formatting-argument
W0102, # dangerous-default-value
[FORMAT]
# Maximum number of characters on a single line.
max-line-length=120
......@@ -244,5 +244,5 @@ class TestRedcapConnector(TestCase):
provenances = redcap_connection.update_data_from_redcap(subject, redcap_visit)
self.assertTrue(len(provenances) > 0)
self.assertEquals(subject.get_custom_data_value(status_field).value, 'Inconclusive')
self.assertEqual(subject.get_custom_data_value(status_field).value, 'Inconclusive')
self.assertTrue(subject.get_custom_data_value(collect_field).value != '')
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