Samuel Neugber
2747e77012
Escape spaces in file paths when running commands on SSH remote ( #4767 )
...
* Escape file paths for calculation of md5 hashes on ssh remote
* Add tests for hardlink and improved md5 test with PropertyMock
* Add additional special characters to check for fix of issue #4628 and fix formatting
* Fix linting errors
* Move tests to correct file and use injected ssh_connection instead of setting it up from scratch
2020-10-22 13:57:18 +03:00
karajan1001 and Ruslan Kuprieiev
8b16af965c
Print dvc version info for debugging ( #4536 )
...
* Print dvc version info for debugging
fix #4095
1. seperate info from dvc version.
2. print dvc version info when some unexpected error occured.
* Psutil NoneType error
* Update tests/func/test_version.py
Co-authored-by: Ruslan Kuprieiev <[email protected] >
* Move `package` outside dvc/utils/pkg.py
Co-authored-by: Ruslan Kuprieiev <[email protected] >
2020-09-13 04:08:20 +03:00
Ruslan Kuprieiev
51a8c782ae
tests: create remote fixtures ( #4063 )
...
* tests: use remote fixtures
* tests: use remote fixtures for data cloud tests
* tests: treat remotes as tmp dirs
2020-06-18 01:36:13 +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
pawel
acd60ac1cf
connection: test: unit: remove repo_dir
2020-01-14 14:52:31 +01:00
Ruslan Kuprieiev
f6a00f35ae
ssh: fix bug in remove()
2020-01-11 03:14:45 +02:00
Mr. Outis
94a0914bba
py3: get rid of future imports
2019-12-30 19:35:48 -06:00
Ruslan Kuprieiev
95fe1578bb
dvc: automatically reorder imports
2019-11-05 02:34:40 +02:00
Mr. Outis
283f848822
sftp: make move an atomic operation
2019-11-01 13:17:22 -06:00
Mr. Outis
2a847ef25c
tests: ignore ssh's hardlink and copy tests on windows
2019-09-09 11:20:29 -05:00
Mr. Outis and Ruslan Kuprieiev
5103dfd4aa
tests: fix skipif on ssh/test_connection.py
...
Co-Authored-By: Ruslan Kuprieiev <[email protected] >
2019-09-07 21:38:50 -05:00
Mr. Outis
b4507444d5
version: adjust get_fs_type to discover all partitions
2019-09-06 19:27:23 -05:00
Mr. Outis
737f1e141d
tests: use repo_dir instead of custom fixtures
2019-09-06 13:28:48 -05:00
Mr. Outis
3c69dc9fd5
tests: unit ssh symlink
2019-09-03 00:04:44 -05:00
Mr. Outis
da65f8fe9a
tests: functional ssh symlink
2019-08-31 13:34:48 -05:00
Mr. Outis
7b4584f86c
ssh: stat -> lstat
2019-08-31 13:02:17 -05:00
Mr. Outis
0fc83be9ff
tests: ssh hardlink optimization
2019-08-31 03:23:35 -05:00
Mr. Outis
0361b1b9c0
tests: ssh connection link methods
2019-08-31 01:56:00 -05:00
Ruslan Kuprieiev
5da08289da
test: ssh: remove test_connection
2019-05-02 05:56:49 +03:00
ag613915cao
fd385c913b
This commit intends to:
...
- Keep current SSH remote connection test on real system
- Faked and Mocked SSH server which running on both Linux and Windows
- Add corresponding tests
Fixed #1704
2019-04-26 18:07:16 +07:00
Ruslan Kuprieiev
37ee55b1f8
test: test ssh
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2019-04-24 05:09:48 +03:00
Ruslan Kuprieiev
44b95f23a3
remote: ssh: support directories
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2019-04-24 05:09:48 +03:00
ag613915cao
47fb2d3a3b
Add test for ssh connection
...
This commit intends to mock SSH server that not depends on
OS which the test running on for testing purpose.
2019-04-21 04:22:59 +03:00