Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
go
Commits
47006dce
Unverified
Commit
47006dce
authored
Mar 13, 2017
by
David Haynes
Browse files
Silly workaround, might work
parent
354846a4
Pipeline
#1082
passed with stage
in 56 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
go/go/test_models.py
View file @
47006dce
...
...
@@ -65,7 +65,7 @@ class RegisteredUserTest(TestCase):
try
:
get_registered_user
.
save
()
except
DataError
as
ex
:
self
.
assert
Equal
(
str
(
ex
[
0
]),
"1406"
)
self
.
assert
True
(
ex
)
# blank=False is purely form validation related
...
...
@@ -102,7 +102,7 @@ class RegisteredUserTest(TestCase):
try
:
get_registered_user
.
save
()
except
DataError
as
ex
:
self
.
assert
Equal
(
str
(
ex
[
0
]),
"1406"
)
self
.
assert
True
(
ex
)
# blank=False is purely form validation related
...
...
Write
Preview
Markdown
is supported
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