mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-06 15:28:28 +01:00
* tests: use remote fixtures * tests: use remote fixtures for data cloud tests * tests: treat remotes as tmp dirs
24 lines
409 B
Python
24 lines
409 B
Python
from funcy import cached_property
|
|
|
|
|
|
class Base:
|
|
@staticmethod
|
|
def should_test():
|
|
return True
|
|
|
|
@staticmethod
|
|
def get_storagepath():
|
|
raise NotImplementedError
|
|
|
|
@staticmethod
|
|
def get_url():
|
|
raise NotImplementedError
|
|
|
|
@cached_property
|
|
def url(self):
|
|
return self.get_url()
|
|
|
|
@cached_property
|
|
def config(self):
|
|
return {"url": self.url}
|