Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
This commit is contained in:
2018-03-06 10:38:34 -05:00
parent c8f942c83c
commit d9182e67d3
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1129,7 +1129,7 @@ class TemporaryDirectory(object):
if 'RAM_DISK' in os.environ:
import uuid
name = uuid.uuid4().hex
dir_name = os.path.sep.join([os.environ['RAM_DISK'], name])
dir_name = '/'.join([os.environ['RAM_DISK'], name])
os.mkdir(dir_name)
self.name = dir_name
+2 -2
View File
@@ -1,8 +1,8 @@
rem imdisk -a -s 2104515b -m R: -f C:\my_disk.ima -p "/FS:NTFS /C /Y"
set RAM_DISK="R:\\"
set RAM_DISK="R:"
virtualenv R:\.venv
R:\.venv\Scripts\pip install -e . --upgrade --upgrade-strategy=only-if-needed
R:\.venv\Scripts\pipenv install --dev
SET RAM_DISK="R:\\" && SET PYPI_VENDOR_DIR=".\tests\pypi\" && R:\.venv\Scripts\pipenv run pytest -n auto -v tests --tap-stream
SET RAM_DISK="R:" && SET PYPI_VENDOR_DIR=".\tests\pypi\" && R:\.venv\Scripts\pipenv run pytest -n auto -v tests --tap-stream