Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update test_arrangements #858

Merged
merged 3 commits into from
Jun 10, 2019
Merged

Conversation

mlangsdorf
Copy link
Contributor

Addresses osbs-7503

Some of the tests for arrangement 1-5 are still valid but are no longer run because arrangements 1-5 are not valid. Move those tests into arrangement 6, updating them as necessary.

tests/build_/test_arrangements.py Outdated Show resolved Hide resolved
tests/build_/test_arrangements.py Outdated Show resolved Hide resolved
tests/build_/test_arrangements.py Outdated Show resolved Hide resolved
tests/build_/test_arrangements.py Outdated Show resolved Hide resolved
tests/build_/test_arrangements.py Outdated Show resolved Hide resolved
tests/build_/test_arrangements.py Outdated Show resolved Hide resolved
tests/build_/test_build_requestv2.py Outdated Show resolved Hide resolved
@mlangsdorf mlangsdorf force-pushed the obsb7503 branch 2 times, most recently from 6fe8d46 to 90c51fe Compare June 4, 2019 17:43
@MartinBasti
Copy link
Contributor

Please remove this bin file from PR BIN +16 KB tests/build_/.test_build_request.py.swp

fixes osbs-7503

Move the tests from arrangements 1-5 that are still valid into
arrangement 6, and update them as necessary so that they pass with the
current code.

Signed-off-by: Mark Langsdorf <mlangsdo@redhat.com>
fixes osbs-7503

remove the dead code for testing arrangements 1-5

Signed-off-by: Mark Langsdorf <mlangsdo@redhat.com>
part of osbs-7496

move render_tag_from_container_yaml, test_prod_is_from_scratch,
render_tag_from_container_yaml_contains_bad_tag, and
test_adjust_for_triggers_base_builds out of test_buildrequest
and into test_buildrequestv2 or test_arrangements, as appropriate.

Part of deprecating and removing build_request v1.
@MartinBasti
Copy link
Contributor

So can we now remove old arrangement json files and prod build?

@mlangsdorf
Copy link
Contributor Author

Sure, but that's not this PR.

@MartinBasti
Copy link
Contributor

ok, thanks

@chmeliik
Copy link
Contributor

@MartinBasti @mlangsdorf I'm pretty sure removing prod jsons would require at least changes to osbs/constants.py and possibly fixing some tests, and removing old arrangement jsons would require removing/fixing old BuildRequest tests (if I'm not mistaken, this PR does not remove any of those).

@rcerven rcerven merged commit 26fdc76 into containerbuildsystem:master Jun 10, 2019
@rcerven
Copy link
Member

rcerven commented Jun 10, 2019

not updating release note, just tests cleanup

@mlangsdorf mlangsdorf deleted the obsb7503 branch June 10, 2019 12:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants