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

Make testsuite work again #255

Merged
merged 55 commits into from
Sep 17, 2024
Merged
Show file tree
Hide file tree
Changes from 50 commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
001d61d
Make the cli exceptions write to outputmanager
oyvindhagberg May 27, 2024
c62dd72
Replace formatted datetime strings in output
pederhan May 29, 2024
80afcbe
Fix workflow annotations about GH action versions
oyvindhagberg May 29, 2024
5d860ed
Update testsuite json with modified label commands
oyvindhagberg May 29, 2024
18a0fa4
Workaround for json-incapable server
oyvindhagberg May 29, 2024
219176a
Also use workaround for patch requests
oyvindhagberg May 31, 2024
14fa7f9
Use OutputManager instead of the cli_* methods
oyvindhagberg May 31, 2024
4bf7f87
Use specialized exceptions. (#256)
terjekv Jun 3, 2024
9990aff
Cull utility functions that aren't used anymore
oyvindhagberg Jun 3, 2024
bf4ca3e
Further culling of... old stuff.
terjekv Jun 3, 2024
99a7890
Fix valid_numeric_ttl min and max value handling
pederhan Jun 4, 2024
e594a79
Use `APIMixin.patch()` in `Zone.set_default_ttl()`
pederhan Jun 4, 2024
7f70f18
Add missing OK message for `host add`
pederhan Jun 4, 2024
780cec6
Remove IP/network from `host add` OK message
pederhan Jun 5, 2024
98681c1
Verified behaviour for all zone commands
oyvindhagberg Jun 5, 2024
205da62
Verified behaviour for all group commands
oyvindhagberg Jun 5, 2024
86a5f25
Fix fetching network from location header (#258)
pederhan Jun 7, 2024
59f5b8b
Add a check for frozen/force to "host add"
oyvindhagberg Jun 10, 2024
833160a
Fix fetching paginated endpoints twice in `get_list_generic` (#261)
pederhan Jun 11, 2024
4eb26e0
Fix network excluded range output.
terjekv Jun 11, 2024
eb94574
Fix delegeation response.
terjekv Jun 11, 2024
33ba2a8
Implement logging. (#266)
terjekv Jun 13, 2024
c89c2c9
Support sending more than str to post. (#264)
terjekv Jun 19, 2024
a9b523b
Fix a bug in remove_excluded_range
oyvindhagberg Jun 20, 2024
2eb563a
Add network set_category/set_location commands
oyvindhagberg Jun 20, 2024
b54505f
Escape error messages (#269)
pederhan Jun 21, 2024
bf79e4b
Escape messages only in formatted exceptions (#271)
pederhan Jun 24, 2024
6668107
Add `QueryParams` type (#273)
pederhan Jun 24, 2024
071012f
Add interactive diffing (#270)
pederhan Jun 24, 2024
8542420
Merge branch 'migrate_to_pydantic' into make-testsuite-work-again-202405
pederhan Jun 24, 2024
4a119fc
Add force req for frozen nets to a_add, aaaa_add
oyvindhagberg Jun 24, 2024
6ced019
Fix problems with history output
oyvindhagberg Jun 26, 2024
632bcca
Add minor quality of life + message changes to diff.py (#275)
pederhan Jul 1, 2024
cbeb35e
Remove `getattr()` usage in `_request_wrapper()`. (#274)
pederhan Jul 1, 2024
23c8f9c
Remove LoginFailedError message hard coding. (#277)
terjekv Jul 1, 2024
8016a19
Fix quote usage and handle direction (im)possibly being unassigned. (…
terjekv Jul 1, 2024
ed1212b
Add a regex for macaddress to diff.py
oyvindhagberg Jul 2, 2024
dda1074
Add OK message to a_add when success
oyvindhagberg Jul 2, 2024
e0cd8ed
Remove unnecessary warning from dhcp assoc
oyvindhagberg Jul 2, 2024
0a4c418
Remove stripping of None values from PATCH calls (#282)
pederhan Jul 25, 2024
228c45b
Improve diff numbering + messages (#284)
pederhan Jul 25, 2024
5fbc7be
Fix `host set_comment` with empty string (#283)
pederhan Jul 25, 2024
41cc2d0
Use Pydantic v2 style model config in `FrozenModel` (#285)
pederhan Jul 25, 2024
2ac32b2
Use object repr when PATCH validation fails
pederhan Jul 25, 2024
815b969
Improve type safety of validators (#286)
pederhan Jul 26, 2024
5f0ce8e
Improve safety of TTL methods for non-nullable fields (#287)
pederhan Jul 26, 2024
18454c3
Add QueryParam annotations for inline params
pederhan Jul 26, 2024
dc11694
Replace IDs & IPs in test result URLs (#288)
pederhan Jul 29, 2024
cc6c5dd
A few code changes + changes to testsuite-result (#289)
oyvindhagberg Jul 30, 2024
f364d13
Write back original lines in diff review (#290)
pederhan Jul 30, 2024
3492169
Delete .pyi file
pederhan Aug 1, 2024
80c35bf
Fix missing None check
pederhan Aug 1, 2024
b2c397d
Accept int values in queries
pederhan Aug 1, 2024
0aa1665
Add missing annotations import
pederhan Aug 1, 2024
3c1cd08
Use uv in CI (#292)
pederhan Sep 17, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 8 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,12 @@ jobs:
python-version:
- '3.11'
- '3.12'
env:
# Disable colors and formatting in Rich console output
TERM: dumb
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
# - name: Cache pip
# uses: actions/cache@v3
# with:
Expand All @@ -24,13 +27,13 @@ jobs:
# v1-pip-${{ runner.os }}
# v1-pip-
- name: Setup Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install mreg-cli
run: |
python -m ensurepip --upgrade
pip install -e .
pip install -e .[dev]
- name: Test and compare api calls
run: ci/run_testsuite_and_record.sh

Expand All @@ -45,9 +48,9 @@ jobs:
- "3.12"

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
Expand Down
Loading