Details
Details
- Reviewers
ardumont - Group Reviewers
Reviewers - Maniphest Tasks
- T1307: Remove mock storages used in tests.
- Commits
- rDLDDIR4aeac0ea7845: Use the in-mem storage.
Diff Detail
Diff Detail
- Repository
- rDLDDIR Directory Loader
- Branch
- inmem-storage
- Lint
No Linters Available - Unit
No Unit Test Coverage - Build Status
Buildable 2856 Build 3608: tox-on-jenkins Jenkins Build 3607: arc lint + arc unit
Event Timeline
Comment Actions
Build is green
See https://jenkins.softwareheritage.org/job/DLDDIR/job/tox/7/ for more details.
swh/loader/dir/tests/test_loader.py | ||
---|---|---|
55 | That's not needed. |
swh/loader/dir/tests/test_loader.py | ||
---|---|---|
55 | It is. BaseDirLoaderTest.setUp extracts a tarball. |
swh/loader/dir/tests/test_loader.py | ||
---|---|---|
55 | In my mind, if you don't define it, it's called anyway, isn't it? |
swh/loader/dir/tests/test_loader.py | ||
---|---|---|
55 | Yes it is ;-) |
swh/loader/dir/tests/test_loader.py | ||
---|---|---|
55 | so it's not needed?! ;) |
swh/loader/dir/tests/test_loader.py | ||
---|---|---|
55 | Absolutely not needed! |
swh/loader/dir/tests/test_loader.py | ||
---|---|---|
55 | But setUp needs to be defined, because it does other stuff (look just below this comment, that's still the setUp code) |
swh/loader/dir/tests/test_loader.py | ||
---|---|---|
55 | Sorry, got mistaken by the comment boxes from Phabricator that was hiding the rest of the code and thought the method was only one line long. |
swh/loader/dir/tests/test_loader.py | ||
---|---|---|
55 | Right, same here! |