I made some modification to the previous version of the code . In this version of the script, I used pytestas the test framework and added a fixture to create and close the CloudflareAdapter instance automatically. I also replaced the sure library with the built-in assert statement and added more tests for the CloudflareAdapter class.
I made some modification to the previous version of the code . In this version of the script, I used
pytest
as the test framework and added a fixture to create and close theCloudflareAdapter
instance automatically. I also replaced thesure
library with the built-inassert
statement and added more tests for theCloudflareAdapter
class.