balena-supervisor/test/data
Felipe Lalanne e04e64763f Improve testing for supervisor composition modules
This PR cleans up testing for supervisor compose modules. It also fixes broken
tests for application manager and removes a lot of dependencies for those tests
on DB and other unnecessary mocks. There are probably a lot of cases that tests
are missing but this should make writing new tests a lot easier.

This PR also creates a new mock dockerode (mockerode) module that should make it
easier to test operations that interact with the engine. All references
to the old mock-dockerode have not yet been removed but that should come
soon in another PR

List of squashed commits:
- Add tests for network create/remove
- Move compose service tests to test/src/compose and reorganize test descriptions
- Add support for image creation to mockerode
- Add additional tests for compose volumes
- Update mockerode so unimplemented fake methods throw. This is to ensure
  tests using mockerode fail if an unimplemented method is used
- Update tests for volume-manager with mockerode
- Update tests for compose/images
- Simplify tests using mockerode
- Clean up compose/app tests
- Create application manager tests

Change-type: minor
2021-07-05 17:50:52 -04:00
..
docker-states version: drop SUPERVISOR_VERSION env var 2020-09-29 11:22:30 -04:00
etc Complete /v1/device/host-config unit tests, modify PATCH route 2021-02-18 12:25:44 +09:00
mnt/boot typos: seperate -> separate 2021-03-17 14:27:53 -04:00
ports/not-ascending tests: Add test case for ascending ports issue 2019-01-02 11:31:25 +00:00
resin-data Add some more unit tests to the multicontainer supervisor 2018-04-30 19:39:01 -07:00
state-endpoints Move database app processing out to its own module 2020-06-11 11:55:11 +01:00
sys/class/net state: Report device MAC address to the API 2020-06-22 10:41:06 +01:00
apps-pin.json Pin a device to a commit when preload has a pinDevice field 2018-06-11 20:27:16 +01:00
apps.json Add some more unit tests to the multicontainer supervisor 2018-04-30 19:39:01 -07:00
boot0.img added support for configuring ODMDATA 2020-08-29 09:05:27 -04:00
device-api-responses.json Complete POST /v1/purge unit tests 2021-02-18 12:25:44 +09:00
testconfig-apibinder-offline2.json Don't generate config fields in offline mode 2018-05-21 14:45:32 +01:00
testconfig-apibinder-offline.json Remove unnecessary config.json keys 2020-05-08 12:56:42 +01:00
testconfig-apibinder.json Remove unnecessary config.json keys 2020-05-08 12:56:42 +01:00
testconfig.json Remove unnecessary config.json keys 2020-05-08 12:56:42 +01:00