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
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
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 | ||
---|---|---|
54 | That's not needed. |
swh/loader/dir/tests/test_loader.py | ||
---|---|---|
54 | It is. BaseDirLoaderTest.setUp extracts a tarball. |
swh/loader/dir/tests/test_loader.py | ||
---|---|---|
54 | In my mind, if you don't define it, it's called anyway, isn't it? |
swh/loader/dir/tests/test_loader.py | ||
---|---|---|
54 | Yes it is ;-) |
swh/loader/dir/tests/test_loader.py | ||
---|---|---|
54 | so it's not needed?! ;) |
swh/loader/dir/tests/test_loader.py | ||
---|---|---|
54 | Absolutely not needed! |
swh/loader/dir/tests/test_loader.py | ||
---|---|---|
54 | 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 | ||
---|---|---|
54 | 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 | ||
---|---|---|
54 | Right, same here! |