Skip to content
Snippets Groups Projects
Unverified Commit ff86792f authored by Casey's avatar Casey :recycle: Committed by Oliver Smith
Browse files

test: add pytest and test config load/migrate (MR 2252)


re-introduce pytest, add a conftest.py with some useful fixtures and
basic tests for config loading.

This just checks that we can load the config and migrate it from the old
2.3.x format to the new 3.0 format with the new mirrors section.

Testing anything that requires args or Context should probably wait
until we can properly model state (since global state like in
get_context() really doesn't jive with pytest).

Signed-off-by: default avatarCaleb Connolly <caleb@postmarketos.org>
parent 0db01a29
No related branches found
No related tags found
1 merge request!2252Type hinting and Chroot's (Caleb's amazing pmbootstrap v3 patch series!)
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment