debian-forge-composer/internal/client
Brian C. Lane e3934108f7 client: Handle the differences between unit tests and integration tests
The mock server used by unit tests is slightly different than the
running server, mostly related to package names that are hard-coded.

This adds a bool to testState that can be used in the tests to alter the
expected behavior. It should be used as little as possible.
2020-03-27 19:07:33 +01:00
..
blueprints.go Move the API struct definitions into internal/weldr 2020-03-23 21:08:01 +01:00
blueprints_test.go client: Handle the differences between unit tests and integration tests 2020-03-27 19:07:33 +01:00
client.go client: Add /projects/ support 2020-03-25 10:01:14 +01:00
client_test.go client: Handle the differences between unit tests and integration tests 2020-03-27 19:07:33 +01:00
integration_test.go client: Handle the differences between unit tests and integration tests 2020-03-27 19:07:33 +01:00
modules.go client: Add /modules/ support 2020-03-25 10:01:14 +01:00
modules_test.go client: Handle the differences between unit tests and integration tests 2020-03-27 19:07:33 +01:00
projects.go client: Add /projects/ support 2020-03-25 10:01:14 +01:00
projects_test.go client: Handle the differences between unit tests and integration tests 2020-03-27 19:07:33 +01:00
source.go client: Add projects/source API support 2020-03-23 21:08:01 +01:00
source_test.go client: Move the weldrcheck integration tests to client 2020-03-27 19:07:33 +01:00
unit_test.go client: Handle the differences between unit tests and integration tests 2020-03-27 19:07:33 +01:00
utils.go client: Handle the differences between unit tests and integration tests 2020-03-27 19:07:33 +01:00
weldr.go Move the API struct definitions into internal/weldr 2020-03-23 21:08:01 +01:00