mirror of
https://github.com/gryf/fs-uae-wrapper.git
synced 2025-12-18 03:50:28 +01:00
Make tempfile prefixed with fs-uae-wrapper string.
Also, included test requirements into tox file, and fixed docs.
This commit is contained in:
@@ -377,8 +377,8 @@ To leverage more pleasant UX, additionally those bits should be installed (or -
|
|||||||
copied into base image filesystem):
|
copied into base image filesystem):
|
||||||
|
|
||||||
- ``Assign`` and whatever commands you'll be use in scripts from your copy of
|
- ``Assign`` and whatever commands you'll be use in scripts from your copy of
|
||||||
- `uaequit`_ - this will allow to quit emulator, after quiting game
|
|
||||||
Workbench
|
Workbench
|
||||||
|
- `uaequit`_ - this will allow to quit emulator, after quiting game
|
||||||
- `kgiconload`_ - tool for reading icon and executing *default tool* with
|
- `kgiconload`_ - tool for reading icon and executing *default tool* with
|
||||||
optionally defined tool types as parameters (in this case: WHDLoad)
|
optionally defined tool types as parameters (in this case: WHDLoad)
|
||||||
- `SKick`_ optionally - for kickstart relocations. Also images of corresponding
|
- `SKick`_ optionally - for kickstart relocations. Also images of corresponding
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ class Base(object):
|
|||||||
if not self._validate_options():
|
if not self._validate_options():
|
||||||
return False
|
return False
|
||||||
|
|
||||||
self.dir = tempfile.mkdtemp()
|
self.dir = tempfile.mkdtemp(prefix='fs-uae-wrapper-')
|
||||||
self._normalize_options()
|
self._normalize_options()
|
||||||
self._set_assets_paths()
|
self._set_assets_paths()
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +0,0 @@
|
|||||||
pytest
|
|
||||||
pytest-cov
|
|
||||||
pytest-pep8
|
|
||||||
coverage
|
|
||||||
flake8
|
|
||||||
7
tox.ini
7
tox.ini
@@ -8,7 +8,12 @@ usedevelop=True
|
|||||||
setenv = COVERAGE_FILE = .coverage
|
setenv = COVERAGE_FILE = .coverage
|
||||||
commands = py.test --cov=fs_uae_wrapper --cov-report=term-missing
|
commands = py.test --cov=fs_uae_wrapper --cov-report=term-missing
|
||||||
|
|
||||||
deps = -r{toxinidir}/test-requirements.txt
|
deps =
|
||||||
|
pytest
|
||||||
|
pytest-cov
|
||||||
|
pytest-pep8
|
||||||
|
coverage
|
||||||
|
flake8
|
||||||
|
|
||||||
[testenv:py3-flake8]
|
[testenv:py3-flake8]
|
||||||
basepython = python3
|
basepython = python3
|
||||||
|
|||||||
Reference in New Issue
Block a user