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
Metagenomics
metagenedb
Commits
a57a5807
Commit
a57a5807
authored
Aug 28, 2019
by
Kenzo-Hugo Hillion
♻
Browse files
fix flake8
parent
61c84de7
Pipeline
#14023
failed with stages
in 1 minute and 42 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
backend/metagenedb/apps/catalog/serializers/bulk_list.py
View file @
a57a5807
...
...
@@ -25,4 +25,4 @@ class BulkListSerializer(serializers.ListSerializer):
return
instances
class
Meta
:
model
=
NotImplemented
\ No newline at end of file
model
=
NotImplemented
backend/metagenedb/apps/catalog/serializers/test_bulk_list.py
View file @
a57a5807
from
copy
import
deepcopy
from
unittest
import
TestCase
from
unittest.mock
import
Mock
from
rest_framework
import
serializers
from
metagenedb.apps.catalog.serializers.bulk_list
import
BulkListSerializer
...
...
@@ -24,7 +23,6 @@ class TestExtractManyToMany(TestCase):
]
self
.
bulk_list_serializer
=
BulkListSerializerTestExtractManyToMany
()
self
.
info
=
Mock
()
def
test_extract_many_to_many
(
self
):
self
.
info
.
relations
=
{
...
...
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