Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
interfect
funkwhale
Commits
4656bdcf
Commit
4656bdcf
authored
Jan 12, 2021
by
interfect
Browse files
Add space for Black, God of Formatting
parent
bf7ee7ba
Pipeline
#13164
failed with stages
in 7 minutes and 47 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
api/tests/music/test_utils.py
View file @
4656bdcf
...
...
@@ -29,7 +29,7 @@ def test_guess_mimetype_try_using_extension_if_fail(wrong, factories, mocker):
(
"sample.flac"
,
{
"bitrate"
:
1608000
,
"length"
:
0.001
}),
(
"test.mp3"
,
{
"bitrate"
:
8000
,
"length"
:
267.70285714285717
}),
(
"test.ogg"
,
{
"bitrate"
:
112000
,
"length"
:
1
}),
(
"test.opus"
,
{
"bitrate"
:
0
,
"length"
:
1
}),
# This Opus file lacks a bitrate
(
"test.opus"
,
{
"bitrate"
:
0
,
"length"
:
1
}),
# This Opus file lacks a bitrate
],
)
def
test_get_audio_file_data
(
name
,
expected
):
...
...
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