Ruslan Kuprieiev
b7ad2dc841
test: fix hdfs/azurite/oss tests ( #3864 )
...
* travis: fix typo
* tests: azure: fix expected etag format
* test: ssh: increase the number of tries
* travis: don't install docker
* dvc: update pyarrow
* tests: ssh: don't leak connections
* remote: don't fail when cache/remote doesn't have prefix subdir
2020-05-23 23:46:40 +03:00
Ruslan Kuprieiev
5ab948f8b6
tests: unit: azure: add etag test ( #3862 )
2020-05-23 19:38:38 +03:00
Ruslan Kuprieiev
58c9ff0de2
azure: drop obsoleted url format ( #3856 )
2020-05-22 20:36:04 +03:00
Saugat Pachhai
b8aa8ad951
pyupgrade: 3.6+ ( #3805 )
...
* pyupgrade: 3.6+
* tests: pyupgrade 3.6+
2020-05-15 16:48:02 +03:00
Casper da Costa-Luis
2bb7257a06
lint: isort pre-commit & misc improvements ( #3749 )
...
* test: clean flake8 config root clutter
* test: pre-commit: add isort
Compatible with black (see https://github.com/timothycrosley/isort/issues/694 )
* lint: reorder imports
* lint: more complex imports
* lint: fix deepsource
* config: isort: add first party dvc
* tests: restyled: add isort
* temp commit to revert before merge
* Revert "temp commit to revert before merge"
This reverts commit 11db0fd8e95fe891597cbb9bf804480909b19e24.
2020-05-06 23:56:07 +03:00
nik123
fefbcc0b4c
refactor: dvc/remotes name unification ( #3684 )
...
Partially fixes #2089
2020-04-26 20:55:00 +03:00
Peter Rowlands (변기호)
dfe184f149
tests: convert remote unit tests to pytest ( #3604 )
...
- update tests/unit/remote tests to use pytest style tests
- use pytest dvc repo fixtures instead of improperly mocked repo's or
None
2020-04-07 10:45:49 +03:00
Alexander Schepanovski
d80293c44d
dvc: path info refactoring
...
Replaced Path* dataclasses with PathInfo/URLInfo/CloudURLInfo, which
know how parse, serialize, stringify and join themselves. They also
provide useful accessors like part of an url or pathlib.Path like
.parent or .name.
Along the way two families of bugs where fixed and should never occur in
the future:
- paths not matched as strings anymore, e.g. using str.startswith()
- Output.path is eliminated as ambiguous
Both families might had caused undefined surprising behavior when local
and remote paths clash.
2019-06-11 19:19:17 +07:00
Ruslan Kuprieiev
b4143b19dd
remote: unify class names
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2019-05-12 17:29:38 +03:00
Ivan Shcheklein
75421f0f21
migrate to pytest
2019-03-17 14:49:49 -07:00