Commit 852ec33d by Sébastien Eustace

Fix tests

parent 5433e5b7
...@@ -26,6 +26,6 @@ pip-log.txt ...@@ -26,6 +26,6 @@ pip-log.txt
setup.cfg setup.cfg
MANIFEST.in MANIFEST.in
setup.py /setup.py
/docs/site/* /docs/site/*
pyproject.lock pyproject.lock
...@@ -173,10 +173,7 @@ class Provider(SpecificationProvider, UI): ...@@ -173,10 +173,7 @@ class Provider(SpecificationProvider, UI):
# We need to place ourselves in the proper # We need to place ourselves in the proper
# folder for it to work # folder for it to work
current_dir = os.getcwd() current_dir = os.getcwd()
print(current_dir)
os.chdir(tmp_dir.as_posix()) os.chdir(tmp_dir.as_posix())
print(os.getcwd())
print(list(Path(os.getcwd()).glob('*')))
try: try:
venv = Venv.create(self._io) venv = Venv.create(self._io)
......
...@@ -32,8 +32,6 @@ def mock_clone(self, source, dest): ...@@ -32,8 +32,6 @@ def mock_clone(self, source, dest):
/ 'fixtures' / 'git' / 'fixtures' / 'git'
/ parts.netloc / parts.path.lstrip('/').rstrip('.git') / parts.netloc / parts.path.lstrip('/').rstrip('.git')
) )
print(folder)
print(list(folder.glob('*')))
shutil.rmtree(str(dest)) shutil.rmtree(str(dest))
shutil.copytree(str(folder), str(dest)) shutil.copytree(str(folder), str(dest))
......
from setuptools import setup
kwargs = dict(
name='demo',
license='MIT',
version='0.1.2',
description='Demo project.',
author='Sébastien Eustace',
author_email='sebastien@eustace.io',
url='https://github.com/demo/demo',
packages=[
'demo',
],
install_requires=[
'pendulum>=1.4.4'
],
)
setup(**kwargs)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment