Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Marc Feger
The Social Network
Commits
78757a31
Commit
78757a31
authored
Nov 25, 2021
by
Marc Feger
Browse files
Remove prints in tests.py
parent
786a6c02
Pipeline
#75192
passed with stages
in 5 minutes and 9 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
social_network/the_social_network/tests.py
View file @
78757a31
...
...
@@ -608,12 +608,6 @@ class TestGetStatementFeed(APITestCase):
response
:
Response
=
self
.
client
.
get
(
path
=
"/contents/statements/feed/"
)
result
=
response
.
data
self
.
assertTrue
(
len
(
result
),
3
)
print
(
result
[
0
].
get
(
"id"
))
print
(
result
[
1
].
get
(
"id"
))
print
(
result
[
2
].
get
(
"id"
))
print
(
self
.
statement_1
.
id
)
print
(
self
.
statement_2
.
id
)
print
(
self
.
statement_3
.
id
)
self
.
assertEqual
(
result
[
0
].
get
(
"id"
),
self
.
statement_3
.
id
)
self
.
assertEqual
(
result
[
1
].
get
(
"id"
),
self
.
statement_2
.
id
)
self
.
assertEqual
(
result
[
2
].
get
(
"id"
),
self
.
statement_1
.
id
)
...
...
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