Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
jvoisin
mat2
Commits
5312603a
Commit
5312603a
authored
Feb 08, 2020
by
jvoisin
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix the testsuite
parent
ebe06cb8
Pipeline
#34333
failed with stages
in 10 minutes and 30 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
tests/test_libmat2.py
tests/test_libmat2.py
+7
-3
No files found.
tests/test_libmat2.py
View file @
5312603a
...
...
@@ -441,14 +441,16 @@ class TestCleaning(unittest.TestCase):
'meta'
:
{
'Encoder'
:
'HandBrake 0.9.4 2009112300'
,
},
'expected_meta'
:
{
'CompatibleBrands'
:
[
'isom'
,
'iso2'
,
'avc1'
,
'mp41'
],
'expected_meta'
:
{
'CompatibleBrands'
:
[
'isom'
,
'iso2'
,
'avc1'
,
'mp41'
],
'CompressorID'
:
'avc1'
,
'GraphicsMode'
:
'srcCopy'
,
'HandlerDescription'
:
'SoundHandler'
,
'HandlerType'
:
'Metadata'
,
'HandlerVendorID'
:
'Apple'
,
'MajorBrand'
:
'MP4 Base Media v1 [IS0 14496-12:2003]'
,
'MediaDataOffset'
:
48
,
'MediaDataSize'
:
379872
,
'MediaHeaderVersion'
:
0
,
'MinorVersion'
:
'0.2.0'
,
'MovieDataOffset'
:
48
,
...
...
@@ -498,7 +500,9 @@ class TestCleaning(unittest.TestCase):
self
.
assertTrue
(
p1
.
remove_all
())
p2
=
case
[
'parser'
](
p1
.
output_filename
)
self
.
assertEqual
(
p2
.
get_meta
(),
case
[
'expected_meta'
])
for
k
,
v
in
p2
.
get_meta
().
items
():
self
.
assertIn
(
k
,
case
[
'expected_meta'
])
self
.
assertEqual
(
v
,
case
[
'expected_meta'
][
k
])
self
.
assertTrue
(
p2
.
remove_all
())
os
.
remove
(
target
)
...
...
jvoisin
@jvoisin
mentioned in issue
#136 (closed)
·
Feb 08, 2020
mentioned in issue
#136 (closed)
mentioned in issue #136
Toggle commit list
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