mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-08 15:28:26 +01:00
Related to #1629 Speeds up HDFS tests significantly. E.g. ExternalHDFS test goes from 600 sec to 190sec. test_open_external[HDFS] from 160sec to 3sec. Signed-off-by: Ruslan Kuprieiev <[email protected]>
17 lines
350 B
Python
17 lines
350 B
Python
import os
|
|
import sys
|
|
import pytest
|
|
|
|
from dvc.output.hdfs import OutputHDFS
|
|
|
|
from tests.unit.output.test_local import TestOutputLOCAL
|
|
|
|
|
|
@pytest.mark.skipif(
|
|
sys.version_info[0] == 2 and os.name == "nt",
|
|
reason="Not supported for python 2 on Windows.",
|
|
)
|
|
class TestOutputHDFS(TestOutputLOCAL):
|
|
def _get_cls(self):
|
|
return OutputHDFS
|