32f384c59f562061d0f506f3d5c3647420e1054f,api/python/tests/integration/test_packages.py,PackageTest,test_remote_install,#PackageTest#,222
Before Change
def test_remote_install(self):
Verify that installing from a local package works as expected.
with patch("quilt3.packages.get_from_config") as get_config_mock, \
patch("quilt3.Package.push") as push_mock:
remote_registry = "."
get_config_mock.return_value = remote_registry
pkg = Package()
pkg.build("Quilt/nice-name")
quilt3.Package.install("Quilt/nice-name", dest="./")
push_mock.assert_called_once_with(dest="./", name="Quilt/nice-name", registry=remote_registry)
def test_package_fetch(self):
Package.fetch() on nested, relative keys
package_ = Package().set_dir("/", DATA_DIR / "nested")
After Change
def test_remote_install(self):
Verify that installing from a local package works as expected.
remote_registry = Path(".").resolve().as_uri()
quilt3.config(
default_local_registry=remote_registry,
default_remote_registry=remote_registry
)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances Project Name: quiltdata/quilt
Commit Name: 32f384c59f562061d0f506f3d5c3647420e1054f
Time: 2019-06-03
Author: dima@quiltdata.io
File Name: api/python/tests/integration/test_packages.py
Class Name: PackageTest
Method Name: test_remote_install
Project Name: quiltdata/quilt
Commit Name: 32f384c59f562061d0f506f3d5c3647420e1054f
Time: 2019-06-03
Author: dima@quiltdata.io
File Name: api/python/tests/integration/test_packages.py
Class Name: PackageTest
Method Name: test_local_install
Project Name: idealo/image-super-resolution
Commit Name: 19a39999ccdb247f01909c2848b381d391ef621b
Time: 2019-04-02
Author: testadicardi@gmail.com
File Name: tests/predict/test_predict.py
Class Name: PredictorClassTest
Method Name: setUpClass