Hacking and Testing instructions no longer works
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
New
|
Undecided
|
Callahan Kovacs |
Bug Description
If I reproduce the steps from the HACKING.md and TESTING.md I can no longer run the static and unit tests.
The steps from HACKING.md to setup the test containers are:
- ./tools/
- lxc exec snapcraft-dev -- sudo -iu ubuntu bash
This works ok.
Then the instructions in TESTING.md:
- make tests-static
- make test-units
They both give:
(snapcraft) ubuntu@
tox run -e lint-black
ROOT: will run in automatically provisioned tox, host /home/ubuntu/
Traceback (most recent call last):
File "/home/
sys.exit(run())
File "/home/
result = main(sys.argv[1:] if args is None else args)
File "/home/
result = provision(state)
File "/home/
return run_provision(
File "/home/
tox_env: PythonRun = cast(PythonRun, state.envs[name])
File "/home/
return self._defined_
File "/home/
run_env = self._build_
File "/home/
runner = REGISTER.
File "/home/
return self._run_
KeyError: 'ignore_
make: *** [Makefile:14: test-black] Error 1
Changed in snapcraft: | |
assignee: | nobody → Callahan Kovacs (mr-cal) |