1. Ronny Pfannschmidt
  2. kij

Commits

Ali Afshar  committed dbe7709

Added a build command

  • Participants
  • Parent commits ca9a644
  • Branches default

Comments (0)

Files changed (1)

File tests/conftest.py

View file
  • Ignore whitespace
     tmpdir = request.getfuncargvalue('tmpdir')
     return tmpdir.ensure('source', dir=True)
 
+def pytest_funcarg__fullsource(request):
+    source = request.getfuncargvalue('source')
+    source.join('kij.yml').write(
+            'name: test\n'
+            'scripts: [foo, bin/bar]\n'
+            'packages: [testpkg]\n'
+            )
+    source.ensure('foo')
+    source.ensure('bin/bar')
+    source.ensure('testpkg/__init__.py')
+    return source
 
 def pytest_funcarg__config(request):
     source = request.getfuncargvalue('source')