Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
TDT4242 Spring 2021 – T17
tdt4242-T17
Commits
6fb7450c
Commit
6fb7450c
authored
Mar 15, 2021
by
Erlend Ydse
Browse files
Update 2wd test
parent
211d61b4
Pipeline
#117170
passed with stage
in 1 minute and 3 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
backend/secfit/tests/tests_2wd_register.py
View file @
6fb7450c
...
...
@@ -129,7 +129,6 @@ class UserRegistration2WayDomainTests(APITestCase):
self
.
assertEquals
((
status_code
==
201
),
validity
)
except
AssertionError
as
e
:
failures
.
append
({
first_field
.
name
:
first_field
.
value
,
second_field
.
name
:
second_field
.
value
,
"error"
:
e
})
print
(
failures
)
print
(
len
(
failures
))
self
.
assertEqual
(
len
(
failures
),
0
)
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment