test(verifier): replace sed calls with native Python code#157
Conversation
…code (cernopendata#157) On macOS, `sed -i -e` creates backup files with `-e` suffix, causing test failures due to unexpected files in the test directory. This commit replaces `sed` commands with native Python file operations.
761b5a5 to
221b46e
Compare
…data#157) On macOS, `sed -i -e` creates backup files with `-e` suffix, causing test failures due to unexpected files in the test directory. This commit replaces `sed` commands with native Python file operations for better platform independence of tests.
221b46e to
6b5be76
Compare
sed calls with platform-independent Python …sed calls with native Python code
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #157 +/- ##
==========================================
- Coverage 80.80% 80.75% -0.06%
==========================================
Files 12 12
Lines 719 717 -2
==========================================
- Hits 581 579 -2
Misses 138 138 🚀 New features to boost your workflow:
|
…data#157) On macOS, `sed -i -e` creates backup files with `-e` suffix, causing test failures due to unexpected files in the test directory. This commit replaces `sed` commands with native Python file operations for better platform independence of tests.
6b5be76 to
20588e8
Compare
|
I get this failure when running tests: =================================== FAILURES ===================================
E assert 1 == 0 tests/test_cli_get_file_locations.py:141: AssertionError |
|
Moreover, are you planning on solving the failing CI checks? I believe the failure I got referenced in the above comment may be related to that. |
Yes, this is due to a temporary indexing trouble on the QA instance of the portal... It was working last week. Pablo is checking the QA instance. (And everything is OK also on the PROD and DEV instances.) |
On macOS,
sed -i -ecreates backup files with-esuffix, causing test failures due to unexpected files in the test directory. This commit replacessedcommands with native Python file operations for better platform independence of tests.