diff --git a/requirements.txt b/requirements.txt index 3086ee9..474619e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,7 +2,7 @@ freezegun==1.4.0 httpx==0.26.0 platformdirs==4.2.0 -prettytable==3.9.0 +prettytable==3.10.0 pytablewriter[html]==1.2.0 pytest==8.0.0 pytest-cov==4.1.0 diff --git a/tests/data/expected_output.py b/tests/data/expected_output.py index 9c5f081..6149f4c 100644 --- a/tests/data/expected_output.py +++ b/tests/data/expected_output.py @@ -101,7 +101,7 @@ EXPECTED_MD = """ | cycle | codename | release | latest | support | eol | link | -|:----------|:---------------:|:----------:|:--------|:----------:|:----------:|:-----------------------------------------------------| +| :---------| :-------------: | :--------: | :-------| :--------: | :--------: | :----------------------------------------------------| | 22.04 LTS | Jammy Jellyfish | 2022-04-21 | 22.04 | 2027-04-02 | 2032-04-01 | https://wiki.ubuntu.com/JammyJellyfish/ReleaseNotes/ | | 21.10 | Impish Indri | 2021-10-14 | 21.10 | 2022-07-31 | 2022-07-31 | https://wiki.ubuntu.com/ImpishIndri/ReleaseNotes/ | | 21.04 | Hirsute Hippo | 2021-04-22 | 21.04 | 2022-01-20 | 2022-01-20 | https://wiki.ubuntu.com/HirsuteHippo/ReleaseNotes/ | @@ -116,7 +116,7 @@ EXPECTED_MD_COLOUR = """ | cycle | codename | release | latest | support | eol | link | -|:----------|:---------------:|:----------:|:--------|:----------:|:----------:|:-----------------------------------------------------| +| :---------| :-------------: | :--------: | :-------| :--------: | :--------: | :----------------------------------------------------| | 22.04 LTS | Jammy Jellyfish | 2022-04-21 | 22.04 | \x1b[32m2027-04-02\x1b[0m | \x1b[32m2032-04-01\x1b[0m | https://wiki.ubuntu.com/JammyJellyfish/ReleaseNotes/ | | 21.10 | Impish Indri | 2021-10-14 | 21.10 | \x1b[32m2022-07-31\x1b[0m | \x1b[32m2022-07-31\x1b[0m | https://wiki.ubuntu.com/ImpishIndri/ReleaseNotes/ | | 21.04 | Hirsute Hippo | 2021-04-22 | 21.04 | \x1b[33m2022-01-20\x1b[0m | \x1b[33m2022-01-20\x1b[0m | https://wiki.ubuntu.com/HirsuteHippo/ReleaseNotes/ | @@ -205,7 +205,7 @@ EXPECTED_MD_LOG4J = """ | cycle | release | latest | eol | -|:------|:----------:|:-------|:----------:| +| :-----| :--------: | :------| :--------: | | 2 | 2014-07-12 | 2.17.2 | False | | 2.12 | 2019-06-23 | 2.12.4 | 2021-12-14 | | 2.3 | 2015-05-09 | 2.3.2 | 2015-09-20 | @@ -214,7 +214,7 @@ EXPECTED_MD_PYTHON = """ | cycle | release | latest | latest release | eol | -|:------|:----------:|:-------|:--------------:|:----------:| +| :-----| :--------: | :------| :------------: | :--------: | | 3.10 | 2021-10-04 | 3.10.5 | 2022-06-06 | 2026-10-04 | | 3.9 | 2020-10-05 | 3.9.13 | 2022-05-17 | 2025-10-05 | | 3.8 | 2019-10-14 | 3.8.13 | 2022-03-16 | 2024-10-14 | @@ -228,7 +228,7 @@ EXPECTED_MD_RHEL = """ | cycle | release | latest | latest release | support | eol | extended support | -|:------|:----------:|:-------|:--------------:|:----------:|:----------:|:----------------:| +| :-----| :--------: | :------| :------------: | :--------: | :--------: | :--------------: | | 9 LTS | 2022-05-17 | 9.3 | 2023-11-07 | 2027-05-31 | 2032-05-31 | 2035-05-31 | | 8 LTS | 2019-05-07 | 8.9 | 2023-11-14 | 2024-05-31 | 2029-05-31 | 2032-05-31 | | 7 LTS | 2013-12-11 | 7.9 | 2020-09-29 | 2019-08-06 | 2024-06-30 | 2028-06-30 |