Page MenuHomeSoftware Heritage

Use the in-mem storage.
ClosedPublic

Authored by vlorentz on Dec 5 2018, 1:41 PM.

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-jenkinsJenkins
Build 3607: arc lint + arc unit

Event Timeline

ardumont added a subscriber: ardumont.
ardumont added inline comments.
swh/loader/dir/tests/test_loader.py
55

That's not needed.

This revision is now accepted and ready to land.Dec 5 2018, 2:01 PM
vlorentz added inline comments.
swh/loader/dir/tests/test_loader.py
55

It is. BaseDirLoaderTest.setUp extracts a tarball.

This revision was automatically updated to reflect the committed changes.
swh/loader/dir/tests/test_loader.py
55

In my mind, if you don't define it, it's called anyway, isn't it?

anlambert added inline comments.
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!

vlorentz added inline comments.
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.
So the call to the parent method is of course needed in that case.

swh/loader/dir/tests/test_loader.py
55

Right, same here!