diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 97536e7..ba1a361 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -3,11 +3,13 @@ { "name": "Python 3", // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile - "image": "mcr.microsoft.com/devcontainers/python:1-3.11", + "image": "mcr.microsoft.com/devcontainers/python:3.14", "features": { // "ghcr.io/devcontainers/features/aws-cli:1": {}, // "ghcr.io/devcontainers/features/azure-cli:1": {}, - // "ghcr.io/devcontainers/features/docker-in-docker:2.16.1": {} + "ghcr.io/devcontainers/features/docker-in-docker:2": { + "moby": false + } }, // Features to add to the dev container. More info: https://containers.dev/features. // "features": {}, diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b454d42..a11b6e9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,12 +12,12 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Install Python 3 - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: 3.14 - - uses: Gr1N/setup-poetry@v8 + - uses: Gr1N/setup-poetry@v9 - name: Install dependencies run: | sudo apt-get install tar diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 7a76050..8a8abcd 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -16,7 +16,7 @@ jobs: runs-on: ubuntu-latest if: github.event_name == 'push' steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Build image run: docker build . --file Dockerfile --tag $IMAGE_NAME - name: Log into registry diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 5b31d65..89d1537 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -17,13 +17,13 @@ jobs: permissions: id-token: write # IMPORTANT: this permission is mandatory for trusted publishing steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Set up Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: '3.11' - - uses: Gr1N/setup-poetry@v8 + - uses: Gr1N/setup-poetry@v9 - name: Install dependencies run: | poetry config virtualenvs.create false @@ -41,7 +41,7 @@ jobs: - name: Publish package distributions to PyPI uses: pypa/gh-action-pypi-publish@release/v1 - name: Trigger workflow in dotextensions-build - uses: actions/github-script@v7 + uses: actions/github-script@v8 continue-on-error: true with: script: | diff --git a/.github/workflows/update-badssl-certs.yml b/.github/workflows/update-badssl-certs.yml index c42ea72..bd8bd70 100644 --- a/.github/workflows/update-badssl-certs.yml +++ b/.github/workflows/update-badssl-certs.yml @@ -16,7 +16,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: token: ${{ secrets.GITHUB_TOKEN }} @@ -46,7 +46,7 @@ jobs: - name: Set up Python 3.11 if: steps.check-expiry.outputs.needs_update == 'true' - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: '3.11' @@ -107,7 +107,7 @@ jobs: - name: Create Pull Request if: steps.check-expiry.outputs.needs_update == 'true' - uses: peter-evans/create-pull-request@v6 + uses: peter-evans/create-pull-request@v7 with: token: ${{ secrets.GITHUB_TOKEN }} commit-message: | diff --git a/poetry.lock b/poetry.lock index e16b9a8..1a3c8d6 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 2.3.3 and should not be changed by hand. +# This file is automatically @generated by Poetry 2.4.1 and should not be changed by hand. [[package]] name = "arpeggio" @@ -321,76 +321,69 @@ files = [ [[package]] name = "cryptography" -version = "46.0.7" +version = "48.0.1" description = "cryptography is a package which provides cryptographic recipes and primitives to Python developers." optional = false -python-versions = "!=3.9.0,!=3.9.1,>=3.8" +python-versions = "!=3.9.0,!=3.9.1,>=3.9" groups = ["main"] files = [ - {file = "cryptography-46.0.7-cp311-abi3-macosx_10_9_universal2.whl", hash = "sha256:ea42cbe97209df307fdc3b155f1b6fa2577c0defa8f1f7d3be7d31d189108ad4"}, - {file = "cryptography-46.0.7-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:b36a4695e29fe69215d75960b22577197aca3f7a25b9cf9d165dcfe9d80bc325"}, - {file = "cryptography-46.0.7-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:5ad9ef796328c5e3c4ceed237a183f5d41d21150f972455a9d926593a1dcb308"}, - {file = "cryptography-46.0.7-cp311-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:73510b83623e080a2c35c62c15298096e2a5dc8d51c3b4e1740211839d0dea77"}, - {file = "cryptography-46.0.7-cp311-abi3-manylinux_2_28_ppc64le.whl", hash = "sha256:cbd5fb06b62bd0721e1170273d3f4d5a277044c47ca27ee257025146c34cbdd1"}, - {file = "cryptography-46.0.7-cp311-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:420b1e4109cc95f0e5700eed79908cef9268265c773d3a66f7af1eef53d409ef"}, - {file = "cryptography-46.0.7-cp311-abi3-manylinux_2_31_armv7l.whl", hash = "sha256:24402210aa54baae71d99441d15bb5a1919c195398a87b563df84468160a65de"}, - {file = "cryptography-46.0.7-cp311-abi3-manylinux_2_34_aarch64.whl", hash = "sha256:8a469028a86f12eb7d2fe97162d0634026d92a21f3ae0ac87ed1c4a447886c83"}, - {file = "cryptography-46.0.7-cp311-abi3-manylinux_2_34_ppc64le.whl", hash = "sha256:9694078c5d44c157ef3162e3bf3946510b857df5a3955458381d1c7cfc143ddb"}, - {file = "cryptography-46.0.7-cp311-abi3-manylinux_2_34_x86_64.whl", hash = "sha256:42a1e5f98abb6391717978baf9f90dc28a743b7d9be7f0751a6f56a75d14065b"}, - {file = "cryptography-46.0.7-cp311-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:91bbcb08347344f810cbe49065914fe048949648f6bd5c2519f34619142bbe85"}, - {file = "cryptography-46.0.7-cp311-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:5d1c02a14ceb9148cc7816249f64f623fbfee39e8c03b3650d842ad3f34d637e"}, - {file = "cryptography-46.0.7-cp311-abi3-win32.whl", hash = "sha256:d23c8ca48e44ee015cd0a54aeccdf9f09004eba9fc96f38c911011d9ff1bd457"}, - {file = "cryptography-46.0.7-cp311-abi3-win_amd64.whl", hash = "sha256:397655da831414d165029da9bc483bed2fe0e75dde6a1523ec2fe63f3c46046b"}, - {file = "cryptography-46.0.7-cp314-cp314t-macosx_10_9_universal2.whl", hash = "sha256:d151173275e1728cf7839aaa80c34fe550c04ddb27b34f48c232193df8db5842"}, - {file = "cryptography-46.0.7-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:db0f493b9181c7820c8134437eb8b0b4792085d37dbb24da050476ccb664e59c"}, - {file = "cryptography-46.0.7-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:ebd6daf519b9f189f85c479427bbd6e9c9037862cf8fe89ee35503bd209ed902"}, - {file = "cryptography-46.0.7-cp314-cp314t-manylinux_2_28_aarch64.whl", hash = "sha256:b7b412817be92117ec5ed95f880defe9cf18a832e8cafacf0a22337dc1981b4d"}, - {file = "cryptography-46.0.7-cp314-cp314t-manylinux_2_28_ppc64le.whl", hash = "sha256:fbfd0e5f273877695cb93baf14b185f4878128b250cc9f8e617ea0c025dfb022"}, - {file = "cryptography-46.0.7-cp314-cp314t-manylinux_2_28_x86_64.whl", hash = "sha256:ffca7aa1d00cf7d6469b988c581598f2259e46215e0140af408966a24cf086ce"}, - {file = "cryptography-46.0.7-cp314-cp314t-manylinux_2_31_armv7l.whl", hash = "sha256:60627cf07e0d9274338521205899337c5d18249db56865f943cbe753aa96f40f"}, - {file = "cryptography-46.0.7-cp314-cp314t-manylinux_2_34_aarch64.whl", hash = "sha256:80406c3065e2c55d7f49a9550fe0c49b3f12e5bfff5dedb727e319e1afb9bf99"}, - {file = "cryptography-46.0.7-cp314-cp314t-manylinux_2_34_ppc64le.whl", hash = "sha256:c5b1ccd1239f48b7151a65bc6dd54bcfcc15e028c8ac126d3fada09db0e07ef1"}, - {file = "cryptography-46.0.7-cp314-cp314t-manylinux_2_34_x86_64.whl", hash = "sha256:d5f7520159cd9c2154eb61eb67548ca05c5774d39e9c2c4339fd793fe7d097b2"}, - {file = "cryptography-46.0.7-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:fcd8eac50d9138c1d7fc53a653ba60a2bee81a505f9f8850b6b2888555a45d0e"}, - {file = "cryptography-46.0.7-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:65814c60f8cc400c63131584e3e1fad01235edba2614b61fbfbfa954082db0ee"}, - {file = "cryptography-46.0.7-cp314-cp314t-win32.whl", hash = "sha256:fdd1736fed309b4300346f88f74cd120c27c56852c3838cab416e7a166f67298"}, - {file = "cryptography-46.0.7-cp314-cp314t-win_amd64.whl", hash = "sha256:e06acf3c99be55aa3b516397fe42f5855597f430add9c17fa46bf2e0fb34c9bb"}, - {file = "cryptography-46.0.7-cp38-abi3-macosx_10_9_universal2.whl", hash = "sha256:462ad5cb1c148a22b2e3bcc5ad52504dff325d17daf5df8d88c17dda1f75f2a4"}, - {file = "cryptography-46.0.7-cp38-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:84d4cced91f0f159a7ddacad249cc077e63195c36aac40b4150e7a57e84fffe7"}, - {file = "cryptography-46.0.7-cp38-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:128c5edfe5e5938b86b03941e94fac9ee793a94452ad1365c9fc3f4f62216832"}, - {file = "cryptography-46.0.7-cp38-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:5e51be372b26ef4ba3de3c167cd3d1022934bc838ae9eaad7e644986d2a3d163"}, - {file = "cryptography-46.0.7-cp38-abi3-manylinux_2_28_ppc64le.whl", hash = "sha256:cdf1a610ef82abb396451862739e3fc93b071c844399e15b90726ef7470eeaf2"}, - {file = "cryptography-46.0.7-cp38-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:1d25aee46d0c6f1a501adcddb2d2fee4b979381346a78558ed13e50aa8a59067"}, - {file = "cryptography-46.0.7-cp38-abi3-manylinux_2_31_armv7l.whl", hash = "sha256:cdfbe22376065ffcf8be74dc9a909f032df19bc58a699456a21712d6e5eabfd0"}, - {file = "cryptography-46.0.7-cp38-abi3-manylinux_2_34_aarch64.whl", hash = "sha256:abad9dac36cbf55de6eb49badd4016806b3165d396f64925bf2999bcb67837ba"}, - {file = "cryptography-46.0.7-cp38-abi3-manylinux_2_34_ppc64le.whl", hash = "sha256:935ce7e3cfdb53e3536119a542b839bb94ec1ad081013e9ab9b7cfd478b05006"}, - {file = "cryptography-46.0.7-cp38-abi3-manylinux_2_34_x86_64.whl", hash = "sha256:35719dc79d4730d30f1c2b6474bd6acda36ae2dfae1e3c16f2051f215df33ce0"}, - {file = "cryptography-46.0.7-cp38-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:7bbc6ccf49d05ac8f7d7b5e2e2c33830d4fe2061def88210a126d130d7f71a85"}, - {file = "cryptography-46.0.7-cp38-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:a1529d614f44b863a7b480c6d000fe93b59acee9c82ffa027cfadc77521a9f5e"}, - {file = "cryptography-46.0.7-cp38-abi3-win32.whl", hash = "sha256:f247c8c1a1fb45e12586afbb436ef21ff1e80670b2861a90353d9b025583d246"}, - {file = "cryptography-46.0.7-cp38-abi3-win_amd64.whl", hash = "sha256:506c4ff91eff4f82bdac7633318a526b1d1309fc07ca76a3ad182cb5b686d6d3"}, - {file = "cryptography-46.0.7-pp311-pypy311_pp73-macosx_11_0_arm64.whl", hash = "sha256:fc9ab8856ae6cf7c9358430e49b368f3108f050031442eaeb6b9d87e4dcf4e4f"}, - {file = "cryptography-46.0.7-pp311-pypy311_pp73-manylinux_2_28_aarch64.whl", hash = "sha256:d3b99c535a9de0adced13d159c5a9cf65c325601aa30f4be08afd680643e9c15"}, - {file = "cryptography-46.0.7-pp311-pypy311_pp73-manylinux_2_28_x86_64.whl", hash = "sha256:d02c738dacda7dc2a74d1b2b3177042009d5cab7c7079db74afc19e56ca1b455"}, - {file = "cryptography-46.0.7-pp311-pypy311_pp73-manylinux_2_34_aarch64.whl", hash = "sha256:04959522f938493042d595a736e7dbdff6eb6cc2339c11465b3ff89343b65f65"}, - {file = "cryptography-46.0.7-pp311-pypy311_pp73-manylinux_2_34_x86_64.whl", hash = "sha256:3986ac1dee6def53797289999eabe84798ad7817f3e97779b5061a95b0ee4968"}, - {file = "cryptography-46.0.7-pp311-pypy311_pp73-win_amd64.whl", hash = "sha256:258514877e15963bd43b558917bc9f54cf7cf866c38aa576ebf47a77ddbc43a4"}, - {file = "cryptography-46.0.7.tar.gz", hash = "sha256:e4cfd68c5f3e0bfdad0d38e023239b96a2fe84146481852dffbcca442c245aa5"}, + {file = "cryptography-48.0.1-cp311-abi3-macosx_10_9_universal2.whl", hash = "sha256:3e4a1a3232eef2e6c732827d5722db29a0cc8b27af2a4d865b094cf954be9ca1"}, + {file = "cryptography-48.0.1-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:32143b24adb918f078134e1e230f1eb8cc04886b92c28b5f0041aaf3e5699225"}, + {file = "cryptography-48.0.1-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:f0d27a5696721ef7a672b8c810f6aded391058e0b9486e63e6d93baf765da691"}, + {file = "cryptography-48.0.1-cp311-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:eb86ce1af36fe65041b6db9a8bb064ee621a7e5fded0f80d475ec243477cd242"}, + {file = "cryptography-48.0.1-cp311-abi3-manylinux_2_28_ppc64le.whl", hash = "sha256:b024e784ad6c077ee0147b35ea9cbfc1e34e1fd4c1dcca214c2794d73a12df08"}, + {file = "cryptography-48.0.1-cp311-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:3752f2dbc8f07a30aad2932c986cea495b03bb554887828225da104f732852b6"}, + {file = "cryptography-48.0.1-cp311-abi3-manylinux_2_31_armv7l.whl", hash = "sha256:bd81490cd5801d755cf97bb68ac191f14b708470b1c7cf4580f669b9c9264cd8"}, + {file = "cryptography-48.0.1-cp311-abi3-manylinux_2_34_aarch64.whl", hash = "sha256:66fd0771e7b9c6dcd44cf1120690d2338d16d72795cf40cae2786a39eba65429"}, + {file = "cryptography-48.0.1-cp311-abi3-manylinux_2_34_ppc64le.whl", hash = "sha256:3fd2ca57062b241c856670b073487d2e86c4637937ca5601e48f97bf8e11fc8f"}, + {file = "cryptography-48.0.1-cp311-abi3-manylinux_2_34_x86_64.whl", hash = "sha256:0ee6ea481db1ab889cba043ec1eda17bb9c1ea79db6722f779c3667f9f70322f"}, + {file = "cryptography-48.0.1-cp311-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:f2ceef93cb096aa3c4cc4b5c94ca6131f9196d28c64d6111533402a9b2054d41"}, + {file = "cryptography-48.0.1-cp311-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:9bd3f92d76217892b15df84ca256c2c113d386fdda7a7d8691aeeced976507c6"}, + {file = "cryptography-48.0.1-cp311-abi3-win32.whl", hash = "sha256:b9a32b876490d66c8bcc9963ef220199569748434ab01a9d6aaeabf88e7f5158"}, + {file = "cryptography-48.0.1-cp311-abi3-win_amd64.whl", hash = "sha256:39489bfca54c7a1f6b297efcd8bc608ab92d16c4ca631b0cad4da46724588b24"}, + {file = "cryptography-48.0.1-cp314-cp314t-macosx_10_9_universal2.whl", hash = "sha256:f817adc181390bd54f2f700107a7419040fb7c1bdf2fc26f36551a06a68c3345"}, + {file = "cryptography-48.0.1-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:d5d30989c6917b478b5817902e85fddaea2261efa8648383d965381ccb9e1ac4"}, + {file = "cryptography-48.0.1-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:df637c05205ea7c1d7fbcbe54bbfea648a52951155f997af13d895d0ecc96991"}, + {file = "cryptography-48.0.1-cp314-cp314t-manylinux_2_28_aarch64.whl", hash = "sha256:869c3b8a53bfe27147832df48b32adadf558249d50e76cb3769d40e986b13265"}, + {file = "cryptography-48.0.1-cp314-cp314t-manylinux_2_28_ppc64le.whl", hash = "sha256:e361afba8918070d376df76f408a4f67fec0ee9cff81a99e48fe9a233ef59e17"}, + {file = "cryptography-48.0.1-cp314-cp314t-manylinux_2_28_x86_64.whl", hash = "sha256:d069066deead00ac7f090be101be875a06855908f7ec004c27b8fefb4acfb411"}, + {file = "cryptography-48.0.1-cp314-cp314t-manylinux_2_31_armv7l.whl", hash = "sha256:09f73a725d582cef64b91281a322cd798d14a33b2b6f2b7ad9531dc336d84c02"}, + {file = "cryptography-48.0.1-cp314-cp314t-manylinux_2_34_aarch64.whl", hash = "sha256:15254441469dd6bf027039453288e2072124f8b6603563f5d759e1c9b69273fa"}, + {file = "cryptography-48.0.1-cp314-cp314t-manylinux_2_34_ppc64le.whl", hash = "sha256:8ace4507d1e6533c125f4fac754f8bb8b6a74c08e92179dabd7e16571a3efbf3"}, + {file = "cryptography-48.0.1-cp314-cp314t-manylinux_2_34_x86_64.whl", hash = "sha256:b4e391975f038e66432328639620a4aff2d307513b004f1ca06d6225bced815c"}, + {file = "cryptography-48.0.1-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:42fcd8e26fe555d9b3577a135f5091fefa0aa4e99129c23fb56787a1bd4ada72"}, + {file = "cryptography-48.0.1-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:c1400da5e32a43253392277eac7490a60e497d810a63dd5608d71bbd7af507c9"}, + {file = "cryptography-48.0.1-cp314-cp314t-win32.whl", hash = "sha256:0df56b056bc17c1b7d6821dfa65216e62bd232d8ab05eb3db44e71d235651471"}, + {file = "cryptography-48.0.1-cp314-cp314t-win_amd64.whl", hash = "sha256:9de21387aa95e2a895823d0745b430bed4f33503ba9ab5e0b5311f33e37d66d2"}, + {file = "cryptography-48.0.1-cp39-abi3-macosx_10_9_universal2.whl", hash = "sha256:4fdc69f8e4316bcf0c8c8ec1f26f285d12e8142d88d96c876a59a03be3f6ae67"}, + {file = "cryptography-48.0.1-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:48fe40804d4caa2288f24e70ca8c64c42dd826da0ad7e4f1b41b2128d679e6c8"}, + {file = "cryptography-48.0.1-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:86be3b1b0b6bf09482fb50a979c508d2950ed95f5621ec77f4e385962006b83a"}, + {file = "cryptography-48.0.1-cp39-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:4ab0a343c807bbcd90c971cd1ecf072937cd01847a9e002bef88fb47ac6be577"}, + {file = "cryptography-48.0.1-cp39-abi3-manylinux_2_28_ppc64le.whl", hash = "sha256:9621de99d2da096006b629979efd8ae7eb2d8b822488d0c89ee4000c306c59b1"}, + {file = "cryptography-48.0.1-cp39-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:88c852a0ae366e262e5a1744b685e6a433dc8788dd2a277e418bf4904203609d"}, + {file = "cryptography-48.0.1-cp39-abi3-manylinux_2_31_armv7l.whl", hash = "sha256:43c5835e2cb98c8733d86f57d6fc879b613f5c3478607281c3e36daffc6dd8a6"}, + {file = "cryptography-48.0.1-cp39-abi3-manylinux_2_34_aarch64.whl", hash = "sha256:fe0180af5bf9236518a087e35bf2d9a347d5f5f51e63c579d683ddff424e3d46"}, + {file = "cryptography-48.0.1-cp39-abi3-manylinux_2_34_ppc64le.whl", hash = "sha256:b7a2d1a937a738a881737cec135a38bb61470589b17515b9f73f571d0ae10401"}, + {file = "cryptography-48.0.1-cp39-abi3-manylinux_2_34_x86_64.whl", hash = "sha256:b74ca3b8e5ecdd833bf6a002ca41b4793bb27fb8f1c06ffaf2643c9e9140e31b"}, + {file = "cryptography-48.0.1-cp39-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:2c37f2461406063b417837f5f3daab668652acd82423efcd7f0a9f04be972de1"}, + {file = "cryptography-48.0.1-cp39-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:86fe77abb1bd87afb251d4d02ada7ecf53a32cee9b67d976abb2e45a13297475"}, + {file = "cryptography-48.0.1-cp39-abi3-win32.whl", hash = "sha256:6b2c0c3e6ccf3ade7750f836ef3ee36eea250cc467d45c256895573ac08cc6f1"}, + {file = "cryptography-48.0.1-cp39-abi3-win_amd64.whl", hash = "sha256:9a49ca6c81417f6a5edb50375a60cccdd70fa0a91a5211829dbea74eba94d2ac"}, + {file = "cryptography-48.0.1-pp311-pypy311_pp73-macosx_11_0_arm64.whl", hash = "sha256:08a597acce1ff37f347400087776599e2348a3a8bc53b44120e463cd274efe4a"}, + {file = "cryptography-48.0.1-pp311-pypy311_pp73-manylinux_2_28_aarch64.whl", hash = "sha256:735824ec41b7f74a7c45fb1591349333e4c696cb6c044e5f46356e560143e4cd"}, + {file = "cryptography-48.0.1-pp311-pypy311_pp73-manylinux_2_28_x86_64.whl", hash = "sha256:92a46e1d638daa264ba2971c0b0489c9409787943efae4d60ffda3d091ef832c"}, + {file = "cryptography-48.0.1-pp311-pypy311_pp73-manylinux_2_34_aarch64.whl", hash = "sha256:7e234ac052af99f2700826a5c29ea99d9c1b1f80341cde62d11c8154dc8e0bd9"}, + {file = "cryptography-48.0.1-pp311-pypy311_pp73-manylinux_2_34_x86_64.whl", hash = "sha256:33842cf0888951cef5bc7ac724ab844a42044c1727b967b7f8997289a0464f92"}, + {file = "cryptography-48.0.1-pp311-pypy311_pp73-win_amd64.whl", hash = "sha256:6184ca7b174f28d7c703f1290d4b297217c45355f77a98f67e9b7f14549ac54a"}, + {file = "cryptography-48.0.1.tar.gz", hash = "sha256:266f4ee051abb2f725b74ef8072b521ce1feacf685a3364fa6a6b45548db791a"}, ] [package.dependencies] -cffi = {version = ">=2.0.0", markers = "python_full_version >= \"3.9.0\" and platform_python_implementation != \"PyPy\""} +cffi = {version = ">=2.0.0", markers = "platform_python_implementation != \"PyPy\""} typing-extensions = {version = ">=4.13.2", markers = "python_full_version < \"3.11.0\""} [package.extras] -docs = ["sphinx (>=5.3.0)", "sphinx-inline-tabs", "sphinx-rtd-theme (>=3.0.0)"] -docstest = ["pyenchant (>=3)", "readme-renderer (>=30.0)", "sphinxcontrib-spelling (>=7.3.1)"] -nox = ["nox[uv] (>=2024.4.15)"] -pep8test = ["check-sdist", "click (>=8.0.1)", "mypy (>=1.14)", "ruff (>=0.11.11)"] -sdist = ["build (>=1.0.0)"] ssh = ["bcrypt (>=3.1.5)"] -test = ["certifi (>=2024)", "cryptography-vectors (==46.0.7)", "pretend (>=0.7)", "pytest (>=7.4.0)", "pytest-benchmark (>=4.0)", "pytest-cov (>=2.10.1)", "pytest-xdist (>=3.5.0)"] -test-randomorder = ["pytest-randomly"] [[package]] name = "decorator" @@ -717,14 +710,14 @@ test = ["pytest", "tox"] [[package]] name = "idna" -version = "3.15" +version = "3.18" description = "Internationalized Domain Names in Applications (IDNA)" optional = false -python-versions = ">=3.8" +python-versions = ">=3.9" groups = ["main"] files = [ - {file = "idna-3.15-py3-none-any.whl", hash = "sha256:048adeaf8c2d788c40fee287673ccaa74c24ffd8dcf09ffa555a2fbb59f10ac8"}, - {file = "idna-3.15.tar.gz", hash = "sha256:ca962446ea538f7092a95e057da437618e886f4d349216d2b1e294abfdb65fdc"}, + {file = "idna-3.18-py3-none-any.whl", hash = "sha256:7f952cbe720b688055e3f87de14f5c3e5fdaa8bc3928985c4077ca689de849a2"}, + {file = "idna-3.18.tar.gz", hash = "sha256:ffb385a7e039654cef1ab9ef32c6fafe283c0c0467bba1d9029738ce4a14a848"}, ] [package.extras] @@ -892,14 +885,14 @@ files = [ [[package]] name = "mistune" -version = "3.2.1" +version = "3.3.4" description = "A sane and fast Markdown parser with useful plugins and renderers" optional = false python-versions = ">=3.8" groups = ["dev"] files = [ - {file = "mistune-3.2.1-py3-none-any.whl", hash = "sha256:78cdb0ba5e938053ccf63651b352508d2efa9411dc8810bfb05f2dc5140c0048"}, - {file = "mistune-3.2.1.tar.gz", hash = "sha256:7c8e5501d38bac1582e067e46c8343f17d57ea1aaa735823f3aba1fd59c88a28"}, + {file = "mistune-3.3.4-py3-none-any.whl", hash = "sha256:ee015381e955e370962968befe1d729ab60fafb6a715ac6751763fbce38c8d4a"}, + {file = "mistune-3.3.4.tar.gz", hash = "sha256:58b5c96d6fcb61190dfe5fae498d2b2065f99cf61e9649418fd54cf1ada86dfe"}, ] [package.dependencies] @@ -922,23 +915,23 @@ six = "*" [[package]] name = "msal" -version = "1.34.0" +version = "1.37.0" description = "The Microsoft Authentication Library (MSAL) for Python library enables your app to access the Microsoft Cloud by supporting authentication of users with Microsoft Azure Active Directory accounts (AAD) and Microsoft Accounts (MSA) using industry standard OAuth2 and OpenID Connect." optional = false -python-versions = ">=3.8" +python-versions = ">=3.9" groups = ["main"] files = [ - {file = "msal-1.34.0-py3-none-any.whl", hash = "sha256:f669b1644e4950115da7a176441b0e13ec2975c29528d8b9e81316023676d6e1"}, - {file = "msal-1.34.0.tar.gz", hash = "sha256:76ba83b716ea5a6d75b0279c0ac353a0e05b820ca1f6682c0eb7f45190c43c2f"}, + {file = "msal-1.37.0-py3-none-any.whl", hash = "sha256:dd17e95a7c71bce75e8108113438ba7c4a086b3bcad4f57a8c09b7af3d753c2d"}, + {file = "msal-1.37.0.tar.gz", hash = "sha256:1b1672a33ee467c1d70b341bb16cafd51bb3c817147a95b93263794b03971bec"}, ] [package.dependencies] -cryptography = ">=2.5,<49" +cryptography = ">=2.5,<51" PyJWT = {version = ">=1.0.0,<3", extras = ["crypto"]} requests = ">=2.0.0,<3" [package.extras] -broker = ["pymsalruntime (>=0.14,<0.19) ; python_version >= \"3.6\" and platform_system == \"Windows\"", "pymsalruntime (>=0.17,<0.19) ; python_version >= \"3.8\" and platform_system == \"Darwin\"", "pymsalruntime (>=0.18,<0.19) ; python_version >= \"3.8\" and platform_system == \"Linux\""] +broker = ["pymsalruntime (>=0.20,<0.21) ; python_version >= \"3.9\" and platform_system == \"Darwin\"", "pymsalruntime (>=0.20,<0.21) ; python_version >= \"3.9\" and platform_system == \"Linux\"", "pymsalruntime (>=0.20,<0.21) ; python_version >= \"3.9\" and platform_system == \"Windows\""] [[package]] name = "packaging" @@ -995,7 +988,7 @@ files = [ {file = "pycparser-2.22-py3-none-any.whl", hash = "sha256:c3702b6d3dd8c7abc1afa565d7e63d53a1d0bd86cdc24edd75470f4de499cfcc"}, {file = "pycparser-2.22.tar.gz", hash = "sha256:491c8be9c040f5390f5bf44a5b07752bd07f56edf992381b05c701439eec10f6"}, ] -markers = {main = "implementation_name != \"PyPy\" and platform_python_implementation != \"PyPy\"", dev = "implementation_name != \"PyPy\""} +markers = {main = "platform_python_implementation != \"PyPy\" and implementation_name != \"PyPy\"", dev = "implementation_name != \"PyPy\""} [[package]] name = "pygments" @@ -1014,14 +1007,14 @@ windows-terminal = ["colorama (>=0.4.6)"] [[package]] name = "pyjwt" -version = "2.12.1" +version = "2.13.0" description = "JSON Web Token implementation in Python" optional = false python-versions = ">=3.9" groups = ["main"] files = [ - {file = "pyjwt-2.12.1-py3-none-any.whl", hash = "sha256:28ca37c070cad8ba8cd9790cd940535d40274d22f80ab87f3ac6a713e6e8454c"}, - {file = "pyjwt-2.12.1.tar.gz", hash = "sha256:c74a7a2adf861c04d002db713dd85f84beb242228e671280bf709d765b03672b"}, + {file = "pyjwt-2.13.0-py3-none-any.whl", hash = "sha256:66adcc2aff09b3f1bbd95fc1e1577df8ac8723c978552fd43304c8a290ac5728"}, + {file = "pyjwt-2.13.0.tar.gz", hash = "sha256:41571c89ca91598c79e8ef18a2d07367d4810fbbd6f637794879baf1b7703423"}, ] [package.dependencies] @@ -1030,9 +1023,6 @@ typing_extensions = {version = ">=4.0", markers = "python_version < \"3.11\""} [package.extras] crypto = ["cryptography (>=3.4.0)"] -dev = ["coverage[toml] (==7.10.7)", "cryptography (>=3.4.0)", "pre-commit", "pytest (>=8.4.2,<9.0.0)", "sphinx", "sphinx-rtd-theme", "zope.interface"] -docs = ["sphinx", "sphinx-rtd-theme", "zope.interface"] -tests = ["coverage[toml] (==7.10.7)", "pytest (>=8.4.2,<9.0.0)"] [[package]] name = "pyspnego" @@ -1080,24 +1070,24 @@ dev = ["argcomplete", "attrs (>=19.2)", "hypothesis (>=3.56)", "mock", "requests [[package]] name = "pytest-html" -version = "4.1.1" +version = "4.2.0" description = "pytest plugin for generating HTML reports" optional = false -python-versions = ">=3.8" +python-versions = ">=3.9" groups = ["dev"] files = [ - {file = "pytest_html-4.1.1-py3-none-any.whl", hash = "sha256:c8152cea03bd4e9bee6d525573b67bbc6622967b72b9628dda0ea3e2a0b5dd71"}, - {file = "pytest_html-4.1.1.tar.gz", hash = "sha256:70a01e8ae5800f4a074b56a4cb1025c8f4f9b038bba5fe31e3c98eb996686f07"}, + {file = "pytest_html-4.2.0-py3-none-any.whl", hash = "sha256:ff5caf3e17a974008e5816edda61168e6c3da442b078a44f8744865862a85636"}, + {file = "pytest_html-4.2.0.tar.gz", hash = "sha256:b6a88cba507500d8709959201e2e757d3941e859fd17cfd4ed87b16fc0c67912"}, ] [package.dependencies] -jinja2 = ">=3.0.0" -pytest = ">=7.0.0" -pytest-metadata = ">=2.0.0" +jinja2 = ">=3" +pytest = ">=7" +pytest-metadata = ">=2" [package.extras] -docs = ["pip-tools (>=6.13.0)"] -test = ["assertpy (>=1.1)", "beautifulsoup4 (>=4.11.1)", "black (>=22.1.0)", "flake8 (>=4.0.1)", "pre-commit (>=2.17.0)", "pytest-mock (>=3.7.0)", "pytest-rerunfailures (>=11.1.2)", "pytest-xdist (>=2.4.0)", "selenium (>=4.3.0)", "tox (>=3.24.5)"] +docs = ["pip-tools (>=6.13)"] +test = ["assertpy (>=1.1)", "beautifulsoup4 (>=4.11.1)", "black (>=22.1)", "flake8 (>=4.0.1)", "pre-commit (>=2.17)", "pytest-mock (>=3.7)", "pytest-rerunfailures (>=11.1.2)", "pytest-xdist (>=2.4)", "selenium (>=4.3)", "tox (>=3.24.5)"] [[package]] name = "pytest-metadata" @@ -1251,14 +1241,14 @@ rpds-py = ">=0.7.0" [[package]] name = "requests" -version = "2.33.0" +version = "2.34.2" description = "Python HTTP for Humans." optional = false python-versions = ">=3.10" groups = ["main"] files = [ - {file = "requests-2.33.0-py3-none-any.whl", hash = "sha256:3324635456fa185245e24865e810cecec7b4caf933d7eb133dcde67d48cee69b"}, - {file = "requests-2.33.0.tar.gz", hash = "sha256:c7ebc5e8b0f21837386ad0e1c8fe8b829fa5f544d8df3b2253bff14ef29d7652"}, + {file = "requests-2.34.2-py3-none-any.whl", hash = "sha256:2a0d60c172f83ac6ab31e4554906c0f3b3588d37b5cb939b1c061f4907e278e0"}, + {file = "requests-2.34.2.tar.gz", hash = "sha256:f288924cae4e29463698d6d60bc6a4da69c89185ad1e0bcc4104f584e960b9ed"}, ] [package.dependencies] @@ -1269,7 +1259,6 @@ urllib3 = ">=1.26,<3" [package.extras] socks = ["PySocks (>=1.5.6,!=1.5.7)"] -test = ["PySocks (>=1.5.6,!=1.5.7)", "pytest (>=3)", "pytest-cov", "pytest-httpbin (==2.1.0)", "pytest-mock", "pytest-xdist"] use-chardet-on-py3 = ["chardet (>=3.0.2,<8)"] [[package]] @@ -1344,14 +1333,14 @@ dev = ["build (>=1.3.0)", "twine (>=3.4.2)", "wheel (>=0.37.0)"] [[package]] name = "restrictedpython" -version = "8.1" +version = "8.2" description = "RestrictedPython is a defined subset of the Python language which allows to provide a program input into a trusted environment." optional = false -python-versions = "<3.15,>=3.9" +python-versions = "<3.15,>=3.10" groups = ["main"] files = [ - {file = "restrictedpython-8.1-py3-none-any.whl", hash = "sha256:4769449c6cdb10f2071649ba386902befff0eff2a8fd6217989fa7b16aeae926"}, - {file = "restrictedpython-8.1.tar.gz", hash = "sha256:4a69304aceacf6bee74bdf153c728221d4e3109b39acbfe00b3494927080d898"}, + {file = "restrictedpython-8.2-py3-none-any.whl", hash = "sha256:6ff69e2fe06674bfe88943f17f2ce8353a9bc743ee37ea7bec38ff8b4851afd1"}, + {file = "restrictedpython-8.2.tar.gz", hash = "sha256:b835c2ff87d71b76f6d8b129096cc5a1e893bf01839ab802ba47a4129f1bdfe4"}, ] [package.extras] @@ -1855,4 +1844,4 @@ test = ["pytest", "pytest-cov"] [metadata] lock-version = "2.1" python-versions = ">=3.10,<3.15" -content-hash = "c50eaf0640cb331c8f6edc05c36ac854a342740ed1276f58eaba7051deea88ad" +content-hash = "9e341561f34b60f0cc9787ea3b548209921852587ec04d7a0048d2c805744061" diff --git a/pyproject.toml b/pyproject.toml index 2d2aa2a..c33cb4d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -29,16 +29,16 @@ requests-pkcs12 = "1.27" parsys-requests-unixsocket = "0.3.2" requests-aws4auth = "1.3.2" requests-ntlm = "1.3.0" -restrictedpython = "8.1" +restrictedpython = "8.2" faker = "40.21.0" requests-hawk = "1.2.1" -msal = "1.34.0" +msal = "1.37.0" pyyaml = "6.0.3" toml = "0.10.2" -requests = "2.33.0" -cryptography = "46.0.7" +requests = "2.34.2" +cryptography = "48.0.1" urllib3 = "2.7.0" -idna = "3.15" +idna = "3.18" xmltodict = "^1.0.2" [tool.poetry.group.dev.dependencies] @@ -47,7 +47,7 @@ flask = "3.1.3" python-magic = "^0.4.27" flask-cors = "^6.0.1" pytest = "9.0.3" -pytest-html = "^4.1.1" +pytest-html = "^4.2.0" pytest-xdist = "^3.6.1" gunicorn = "^23.0.0" httpbin = "^0.10.2" diff --git a/test/core/payload/dataasformpayload.http b/test/core/payload/dataasformpayload.http index 23d17fd..369f5d9 100644 --- a/test/core/payload/dataasformpayload.http +++ b/test/core/payload/dataasformpayload.http @@ -1,2 +1,2 @@ -POST "https://dothttp.azurewebsites.net" +POST "https://github.com" data({"hi":"prasanth"}) \ No newline at end of file diff --git a/test/core/payload/filepayload.http b/test/core/payload/filepayload.http index 77ad21d..0f35e7b 100644 --- a/test/core/payload/filepayload.http +++ b/test/core/payload/filepayload.http @@ -1,2 +1,2 @@ -POST "https://dothttp.azurewebsites.net" +POST "https://github.com" fileinput("{{filename}}") \ No newline at end of file diff --git a/test/core/payload/filepayload2.http b/test/core/payload/filepayload2.http index 3f26661..2b7549b 100644 --- a/test/core/payload/filepayload2.http +++ b/test/core/payload/filepayload2.http @@ -1,2 +1,2 @@ -POST "https://dothttp.azurewebsites.net" +POST "https://github.com" < "{{filename}}" \ No newline at end of file diff --git a/test/core/payload/jsonpayload.http b/test/core/payload/jsonpayload.http index 2136610..ce282f4 100644 --- a/test/core/payload/jsonpayload.http +++ b/test/core/payload/jsonpayload.http @@ -1,2 +1,2 @@ -POST 'https://dothttp.azurewebsites.net' +POST 'https://github.com' json({"string": "simple"}) diff --git a/test/core/payload/jsonpayload2.http b/test/core/payload/jsonpayload2.http index 8eb5be3..49d4780 100644 --- a/test/core/payload/jsonpayload2.http +++ b/test/core/payload/jsonpayload2.http @@ -1,4 +1,4 @@ -POST 'https://dothttp.azurewebsites.net' +POST 'https://github.com' json({ "string": "simple", "list": ["dothttp", "azure"], diff --git a/test/core/payload/jsonpayload3.http b/test/core/payload/jsonpayload3.http index c16d814..49ed6af 100644 --- a/test/core/payload/jsonpayload3.http +++ b/test/core/payload/jsonpayload3.http @@ -1,4 +1,4 @@ -POST "https://dothttp.azurewebsites.net" +POST "https://github.com" json({"menu": { "header": "SVG Viewer", "ite""ms": [ diff --git a/test/core/payload/jsonpayload4.http b/test/core/payload/jsonpayload4.http index 1f5a8e7..6b0e3e8 100644 --- a/test/core/payload/jsonpayload4.http +++ b/test/core/payload/jsonpayload4.http @@ -1,4 +1,4 @@ -POST "https://dothttp.azurewebsites.net" +POST "https://github.com" json({ "glossary": { "title": "example glossary", diff --git a/test/core/payload/multipartfiles.http b/test/core/payload/multipartfiles.http index 7943162..9f21e73 100644 --- a/test/core/payload/multipartfiles.http +++ b/test/core/payload/multipartfiles.http @@ -1,4 +1,4 @@ -POST "https://dothttp.azurewebsites.net" +POST "https://github.com" files( ("resume", "{{filename}}"), ("content2", "{{data}}") diff --git a/test/core/payload/payload.http b/test/core/payload/payload.http index b04d422..e42693a 100644 --- a/test/core/payload/payload.http +++ b/test/core/payload/payload.http @@ -1,7 +1,7 @@ -POST 'https://dothttp.azurewebsites.net' +POST 'https://github.com' data('{}') -POST 'https://dothttp.azurewebsites.net' +POST 'https://github.com' data('😻') \ No newline at end of file diff --git a/test/core/payload/payload2.http b/test/core/payload/payload2.http index 9333933..1414adf 100644 --- a/test/core/payload/payload2.http +++ b/test/core/payload/payload2.http @@ -1,4 +1,4 @@ -POST 'https://dothttp.azurewebsites.net?key3=value3' +POST 'https://github.com?key3=value3' ? 'key1', 'value1' ? 'key2', 'value2' data('{this is bad}') \ No newline at end of file diff --git a/test/core/payload/payload3.http b/test/core/payload/payload3.http index 8eea2c0..e99eda3 100644 --- a/test/core/payload/payload3.http +++ b/test/core/payload/payload3.http @@ -1,2 +1,2 @@ -POST 'https://dothttp.azurewebsites.net' +POST 'https://github.com' json({}) \ No newline at end of file diff --git a/test/core/requests/defaultget.http b/test/core/requests/defaultget.http index 454fdf8..60774ba 100644 --- a/test/core/requests/defaultget.http +++ b/test/core/requests/defaultget.http @@ -1,2 +1,2 @@ -GET "https://dothttp.azurewebsites.net" +GET "https://github.com" "headerkey": "headervalue" \ No newline at end of file diff --git a/test/core/requests/fail.http b/test/core/requests/fail.http index 7a1f1c3..796814b 100644 --- a/test/core/requests/fail.http +++ b/test/core/requests/fail.http @@ -1,3 +1,3 @@ -POST https://dothttp.azurewebsites.net +POST https://github.com ? ranga prasanth // query didn't had ',' ranga : prasanth // correct header \ No newline at end of file diff --git a/test/core/requests/fail2.http b/test/core/requests/fail2.http index 7917012..d2563f6 100644 --- a/test/core/requests/fail2.http +++ b/test/core/requests/fail2.http @@ -1 +1 @@ -PATCH2 'https://dothttp.azurewebsites.net' \ No newline at end of file +PATCH2 'https://github.com' \ No newline at end of file diff --git a/test/core/requests/non200.http b/test/core/requests/non200.http index 3ec4c76..a8572c7 100644 --- a/test/core/requests/non200.http +++ b/test/core/requests/non200.http @@ -1,2 +1,2 @@ GET "http://localhost:8000/redirect-to" -? 'url', "https://dothttp.azurewebsites.net" +? 'url', "https://github.com" diff --git a/test/core/requests/pass.http b/test/core/requests/pass.http index 83eab42..76a963d 100644 --- a/test/core/requests/pass.http +++ b/test/core/requests/pass.http @@ -1 +1 @@ -GET 'https://dothttp.azurewebsites.net' \ No newline at end of file +GET 'https://github.com' \ No newline at end of file diff --git a/test/core/requests/pass2.http b/test/core/requests/pass2.http index 28bb8fb..1755920 100644 --- a/test/core/requests/pass2.http +++ b/test/core/requests/pass2.http @@ -1 +1 @@ -POST 'https://dothttp.azurewebsites.net' \ No newline at end of file +POST 'https://github.com' \ No newline at end of file diff --git a/test/core/requests/query.http b/test/core/requests/query.http index 43c90da..44df304 100644 --- a/test/core/requests/query.http +++ b/test/core/requests/query.http @@ -1,3 +1,3 @@ -GET 'https://dothttp.azurewebsites.net?key3=value3' +GET 'https://github.com?key3=value3' ? 'key1', 'value1' ? 'key2', 'value2' \ No newline at end of file diff --git a/test/core/requests/redirect.http b/test/core/requests/redirect.http index eea40a1..f0db150 100644 --- a/test/core/requests/redirect.http +++ b/test/core/requests/redirect.http @@ -1,2 +1,2 @@ -GET "http://endeavour.today/" +GET "https://github.com/" diff --git a/test/core/substitution/.dothttp.json b/test/core/substitution/.dothttp.json index 962025a..dfaac9c 100644 --- a/test/core/substitution/.dothttp.json +++ b/test/core/substitution/.dothttp.json @@ -1,6 +1,6 @@ { "*": { - "host": "dothttp.azurewebsites.net", + "host": "github.com", "queryname": "key1", "valuename": "value2" }, diff --git a/test/core/substitution/prop1.json b/test/core/substitution/prop1.json index 137c3d9..f54f3fb 100644 --- a/test/core/substitution/prop1.json +++ b/test/core/substitution/prop1.json @@ -1,6 +1,6 @@ { "*": { - "host": "dothttp.azurewebsites.net", + "host": "github.com", "queryname": "key1", "valuename": "value2" }, diff --git a/test/core/substitution/prop2.json b/test/core/substitution/prop2.json index 50fed93..78b2842 100644 --- a/test/core/substitution/prop2.json +++ b/test/core/substitution/prop2.json @@ -1,6 +1,6 @@ { "*": { - "host": "dothttp.azurewebsites.net", + "host": "github.com", "queryname": "key1", "valuename": "value2" }, diff --git a/test/core/test_payload.py b/test/core/test_payload.py index 5b02c58..d84b583 100644 --- a/test/core/test_payload.py +++ b/test/core/test_payload.py @@ -15,7 +15,7 @@ class PayLoadTest(TestBase): def test_json_payload(self): req = self.get_request(f"{base_dir}/jsonpayload.http") self.assertEqual( - "https://dothttp.azurewebsites.net/", req.url, "incorrect url computed" + "https://github.com/", req.url, "incorrect url computed" ) self.assertEqual("POST", req.method, "incorrect method") self.assertEqual(b'{"string": "simple"}', req.body, "incorrect method") @@ -23,7 +23,7 @@ def test_json_payload(self): def test_json_payload2(self): req = self.get_request(f"{base_dir}/jsonpayload2.http") self.assertEqual( - "https://dothttp.azurewebsites.net/", req.url, "incorrect url computed" + "https://github.com/", req.url, "incorrect url computed" ) self.assertEqual("POST", req.method, "incorrect method") self.assertEqual( @@ -47,7 +47,7 @@ def test_json_payload2(self): def test_json_payload3(self): req = self.get_request(f"{base_dir}/jsonpayload3.http") self.assertEqual( - "https://dothttp.azurewebsites.net/", req.url, "incorrect url computed" + "https://github.com/", req.url, "incorrect url computed" ) self.assertEqual("POST", req.method, "incorrect method") self.assertEqual( @@ -99,7 +99,7 @@ def test_root_array(self): def test_json_payload_complex(self): req = self.get_request(f"{base_dir}/jsonpayload4.http") self.assertEqual( - "https://dothttp.azurewebsites.net/", req.url, "incorrect url computed" + "https://github.com/", req.url, "incorrect url computed" ) self.assertEqual("POST", req.method, "incorrect method") self.assertEqual( @@ -133,7 +133,7 @@ def test_json_payload_complex(self): def test_payload(self): req = self.get_request(f"{base_dir}/payload.http") self.assertEqual( - "https://dothttp.azurewebsites.net/", req.url, "incorrect url computed" + "https://github.com/", req.url, "incorrect url computed" ) self.assertEqual("POST", req.method, "incorrect method") self.assertEqual("{}", req.body, "incorrect body") @@ -142,7 +142,7 @@ def test_smileys_or_special(self): comp = self.get_req_comp(f"{base_dir}/payload.http", target=2) req = comp.get_request() self.assertEqual( - "https://dothttp.azurewebsites.net/", req.url, "incorrect url computed" + "https://github.com/", req.url, "incorrect url computed" ) self.assertEqual("POST", req.method, "incorrect method") self.assertEqual("😻", req.body, "incorrect method") @@ -152,7 +152,7 @@ def test_smileys_or_special(self): def test_payload2(self): req = self.get_request(f"{base_dir}/payload2.http") self.assertEqual( - "https://dothttp.azurewebsites.net/?key3=value3&key1=value1&key2=value2", + "https://github.com/?key3=value3&key1=value1&key2=value2", req.url, "incorrect url computed", ) @@ -162,7 +162,7 @@ def test_payload2(self): def test_payload3(self): req = self.get_request(f"{base_dir}/payload3.http") self.assertEqual( - "https://dothttp.azurewebsites.net/", req.url, "incorrect url computed" + "https://github.com/", req.url, "incorrect url computed" ) self.assertEqual("POST", req.method, "incorrect method") self.assertEqual(b"{}", req.body, "incorrect method") diff --git a/test/core/test_request.py b/test/core/test_request.py index 5f7b7be..2ca4535 100644 --- a/test/core/test_request.py +++ b/test/core/test_request.py @@ -23,18 +23,18 @@ class RequestTest(TestBase): def test_get(self): req = self.get_request(f"{base_dir}/pass.http") - self.assertEqual("https://dothttp.azurewebsites.net/", req.url, "incorrect url") + self.assertEqual("https://github.com/", req.url, "incorrect url") self.assertEqual("GET", req.method, "incorrect url") def test_post(self): req = self.get_request(f"{base_dir}/pass2.http") - self.assertEqual("https://dothttp.azurewebsites.net/", req.url, "incorrect url") + self.assertEqual("https://github.com/", req.url, "incorrect url") self.assertEqual("POST", req.method, "incorrect url") def test_query(self): req = self.get_request(f"{base_dir}/query.http") self.assertEqual( - "https://dothttp.azurewebsites.net/?key3=value3&key1=value1&key2=value2", + "https://github.com/?key3=value3&key1=value1&key2=value2", req.url, "incorrect url computed", ) @@ -85,7 +85,7 @@ def test_curl_print(self): ) output = req.get_curl_output() self.assertEqual( - """curl -X GET --url http://endeavour.today/ \\ + """curl -X GET --url https://github.com/ \\ """, output, ) @@ -94,7 +94,7 @@ def test_format_print(self): req = self.get_req_comp(f"{base_dir}/redirect.http", format=True, stdout=True) req.load() output = req.format(req.model) - self.assertEqual('GET "http://endeavour.today/"\n\n\n', output) + self.assertEqual('GET "https://github.com/"\n\n\n', output) print(output) def test_format2_print(self): @@ -118,7 +118,7 @@ def test_format2_print(self): def test_curl_query(self): req = self.get_req_comp(f"{sub_dir}/query.http", stdout=True, curl=True) self.assertEqual( - """curl -X POST --url https://dothttp.azurewebsites.net/ram?key1=value1&key2=value2 \\ + """curl -X POST --url https://github.com/ram?key1=value1&key2=value2 \\ -H 'content-type: application/json' \\ -d '{ "key1": "value2" @@ -129,7 +129,7 @@ def test_curl_query(self): def test_curl_query2(self): req = self.get_req_comp(f"{base_dir}/query.http", stdout=True, curl=True) self.assertEqual( - """curl -X GET --url https://dothttp.azurewebsites.net/?key3=value3&key1=value1&key2=value2 \\ + """curl -X GET --url https://github.com/?key3=value3&key1=value1&key2=value2 \\ """, req.get_curl_output(), ) diff --git a/test/core/test_substitution.py b/test/core/test_substitution.py index e94f685..43705d7 100644 --- a/test/core/test_substitution.py +++ b/test/core/test_substitution.py @@ -13,7 +13,7 @@ class SubstitutionTest(TestBase): def test_substitution(self): req = self.get_request(f"{base_dir}/host.http") self.assertEqual( - "https://dothttp.azurewebsites.net/ram", req.url, "incorrect url" + "https://github.com/ram", req.url, "incorrect url" ) def test_substitution_json_query_multiple(self): @@ -47,9 +47,9 @@ def test_substitution_with_default_prop(self): def test_substitution_commandline(self): req = self.get_request( f"{base_dir}/httpfileprop.http", - properties=["dontsubstitute=dothttp.azurewebsites.net"], + properties=["dontsubstitute=github.com"], ) - self.assertEqual("https://dothttp.azurewebsites.net/", req.url) + self.assertEqual("https://github.com/", req.url) self.assertEqual("GET", req.method) def test_substitution_infile_with_quotes(self): diff --git a/test/extensions/test_commands.py b/test/extensions/test_commands.py index 0c6be4e..e3e2aef 100644 --- a/test/extensions/test_commands.py +++ b/test/extensions/test_commands.py @@ -392,7 +392,7 @@ def test_complex_file(self): params={ "file": f"{command_dir}/complexrun.http", "target": "2", - "properties": {"host": "req.dothttp.dev"}, + "properties": {"host": "localhost:8000"}, }, id=1, ) @@ -403,9 +403,9 @@ def test_complex_file(self): self.assertEqual( "http://localhost:8000/post?startusing=dothttp", body["url"]) self.assertEqual( - """var host = 'req.dothttp.dev' ; + """var host = 'localhost:8000' ; @name("2") -POST "http://req.dothttp.dev/post" +POST "http://localhost:8000/post" ? "startusing"= "dothttp"