Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Requirements needed for running the test suite.

cached-property
dxpy
flake8==2.4.1
freezegun==0.3.6
mock==1.3.0
Expand All @@ -8,3 +10,4 @@ testfixtures==4.7.0
coverage==4.4.1
pytest==3.2.3
pytest-cov==2.5.1
vcrpy-unittest
4 changes: 3 additions & 1 deletion stor/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ def __new__(cls, path):
if cls is Path:
if not hasattr(path, 'startswith'):
raise TypeError('must be a string like')
if utils.is_swift_path(path):
if utils.is_dx_path(path):
cls = utils.find_dx_class(path)
elif utils.is_swift_path(path):
from stor.swift import SwiftPath

cls = SwiftPath
Expand Down
Loading