Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

Conversation

cameel
Copy link
Contributor

@cameel cameel commented Jun 12, 2019

This pull request fixes several issues with the @dont_remove_dirs_on_failed_test decorator found by @pawelkisielewicz:

  • The name does not really match what it does which is confusing.
  • It does not work with parameterized because it does not pass its arguments down the line and hides the name of the wrapped function.
  • Having it defined inside a class limits what you can do with it. It's better to have it outside.

Dependencies

This pull request is based on #4249. Technically, it could work directly on CGI/transcoding/master but this would require solving some conflicts and rebasing #4249 on it after that.

NOTE: I have set the base branch of this pull request to enhanced-transcoding-integration-tests-with-ffprobe-report (#4249) rather than CGI/transcoding/master. Please remember to change the base branch back to CGI/transcoding/master before you merge.

cameel and others added 30 commits May 28, 2019 18:05
- Lots of other things will fail if we just return None here and mypy can see that. Let's just fail earlier.
…atReport.build() and put results for each file in a separate subdirectory
pawelkisielewicz and others added 17 commits June 11, 2019 15:38
- The extension was not stripped correctly from the input file
- In some cases there were two dots before the output file name
…c in input column names

- This way sorting works better for the codec change test. Results with the same codec/container but different resolutions get grouped together.
… of the explicitly specified task options in the table column headers

- This makes it possible to for example specify a different resolution for each file in codec change test and still have the results in a single column. Otherwise each resolution gets its own column.
… one column for each tested parameter combination
…irs_on_failed_test-> remove_temporary_dirtree_if_test_passed
@codecov
Copy link

codecov bot commented Jun 14, 2019

Codecov Report

Merging #4316 into CGI/transcoding/master will not change coverage.
The diff coverage is n/a.

@@                   Coverage Diff                   @@
##           CGI/transcoding/master    #4316   +/-   ##
=======================================================
  Coverage                   88.52%   88.52%           
=======================================================
  Files                         217      217           
  Lines                       18804    18804           
=======================================================
  Hits                        16646    16646           
  Misses                       2158     2158

@nieznanysprawiciel nieznanysprawiciel changed the base branch from enhanced-transcoding-integration-tests-with-ffprobe-report to CGI/transcoding/master June 14, 2019 11:15
@nieznanysprawiciel nieznanysprawiciel merged commit 70a9932 into CGI/transcoding/master Jun 17, 2019
@nieznanysprawiciel nieznanysprawiciel deleted the failing-transcoding-tests-should-not-delete-intermediate-files branch June 17, 2019 11:31
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants