Skip to content

Commit

Permalink
Added extendedinterpolation
Browse files Browse the repository at this point in the history
  • Loading branch information
vrbanecd committed Sep 17, 2024
1 parent 51fa6d5 commit c7c266a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion teapot.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/usr/bin/env python3
import asyncio
import configparser
from configparser import ExtendedInterpolation
import csv
import datetime
import errno
Expand Down Expand Up @@ -28,7 +29,7 @@
from starlette.background import BackgroundTask
from starlette.responses import StreamingResponse

config = configparser.ConfigParser()
config = configparser.ConfigParser(interpolation=ExtendedInterpolation())
config.read("/etc/teapot/config.ini")


Expand Down

1 comment on commit c7c266a

@vrbanecd
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Robot Results

✅ Passed ❌ Failed ⏭️ Skipped Total Pass % ⏱️ Duration
16 16 0 32 50.00 5.371353s

Passed Tests

Name ⏱️ Duration Suite
GET NO TOKEN 0.070 s Teapot-Tests
GET INVALID TOKEN 0.073 s Teapot-Tests
PUT REQUEST INVALID TOKEN 0.020 s Teapot-Tests
PUT REQUEST NO TOKEN 0.026 s Teapot-Tests
GET FILE NO TOKEN 0.019 s Teapot-Tests
GET FILE INVALID TOKEN 0.014 s Teapot-Tests
DELETE REQUEST INVALID TOKEN 0.020 s Teapot-Tests
DELETE REQUEST NO TOKEN 0.014 s Teapot-Tests
GET NO TOKEN EXTRA_AREA 0.020 s Teapot-Tests
GET INVALID TOKEN EXTRA_AREA 0.014 s Teapot-Tests
PUT REQUEST INVALID TOKEN EXTRA_AREA 0.014 s Teapot-Tests
PUT REQUEST NO TOKEN EXTRA_AREA 0.014 s Teapot-Tests
GET FILE NO TOKEN EXTRA_AREA 0.019 s Teapot-Tests
GET FILE INVALID TOKEN EXTRA_AREA 0.014 s Teapot-Tests
DELETE REQUEST INVALID TOKEN EXTRA_AREA 0.047 s Teapot-Tests
DELETE REQUEST NO TOKEN EXTRA_AREA 0.015 s Teapot-Tests

Failed Tests

Name Message ⏱️ Duration Suite
GET USER1 Url: https://teapot:8081/default_area Expected status: 500 != 200 2.271 s Teapot-Tests
GET USER2 Url: https://teapot:8081/default_area Expected status: 500 != 200 2.169 s Teapot-Tests
PUT REQUEST USER1 Url: https://teapot:8081/default_area/TestFile1 Expected status: 500 != 201 Also teardown failed: Url: https://teapot:8081/default_area/TestFile1 Expected status: 500 != 204 0.054 s Teapot-Tests
PUT REQUEST USER2 Url: https://teapot:8081/default_area/TestFile1 Expected status: 500 != 201 Also teardown failed: Url: https://teapot:8081/default_area/TestFile1 Expected status: 500 != 204 0.046 s Teapot-Tests
GET FILE USER1 Setup failed: Url: https://teapot:8081/default_area/TestFile2 Expected status: 500 != 201 Also teardown failed: Url: https://teapot:8081/default_area/TestFile2 Expected status: 500 != 204 0.046 s Teapot-Tests
GET FILE USER2 Setup failed: Url: https://teapot:8081/default_area/TestFile2 Expected status: 500 != 201 Also teardown failed: Url: https://teapot:8081/default_area/TestFile2 Expected status: 500 != 204 0.046 s Teapot-Tests
DELETE REQUEST USER1 Setup failed: Url: https://teapot:8081/default_area/TestFile2 Expected status: 500 != 201 0.018 s Teapot-Tests
DELETE REQUEST USER2 Setup failed: Url: https://teapot:8081/default_area/TestFile2 Expected status: 500 != 201 0.023 s Teapot-Tests
GET USER1 EXTRA_AREA Url: https://teapot:8081/extra_area Expected status: 500 != 200 0.016 s Teapot-Tests
GET USER2 EXTRA_AREA Url: https://teapot:8081/extra_area Expected status: 500 != 200 0.023 s Teapot-Tests
PUT REQUEST USER1 EXTRA_AREA Url: https://teapot:8081/extra_area/TestFile1 Expected status: 500 != 201 Also teardown failed: Url: https://teapot:8081/extra_area/TestFile1 Expected status: 500 != 204 0.041 s Teapot-Tests
PUT REQUEST USER2 EXTRA_AREA Url: https://teapot:8081/extra_area/TestFile1 Expected status: 500 != 201 Also teardown failed: Url: https://teapot:8081/extra_area/TestFile1 Expected status: 500 != 204 0.046 s Teapot-Tests
GET FILE USER1 EXTRA_AREA Setup failed: Url: https://teapot:8081/extra_area/TestFile2 Expected status: 500 != 201 Also teardown failed: Url: https://teapot:8081/extra_area/TestFile2 Expected status: 500 != 204 0.047 s Teapot-Tests
GET FILE USER2 EXTRA_AREA Setup failed: Url: https://teapot:8081/extra_area/TestFile2 Expected status: 500 != 201 Also teardown failed: Url: https://teapot:8081/extra_area/TestFile2 Expected status: 500 != 204 0.051 s Teapot-Tests
DELETE REQUEST USER1 EXTRA_AREA Setup failed: Url: https://teapot:8081/extra_area/TestFile2 Expected status: 500 != 201 0.040 s Teapot-Tests
DELETE REQUEST USER2 EXTRA_AREA Setup failed: Url: https://teapot:8081/extra_area/TestFile2 Expected status: 500 != 201 0.024 s Teapot-Tests

Please sign in to comment.