Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Verified Commit 1b89377a authored by Vincent SIMONIN's avatar Vincent SIMONIN
Browse files

:green_heart: Try to fix test env HTTP read time out

parent 3ef878a7
No related branches found
No related tags found
1 merge request!50✨ New Mapping property Sorry Page
Pipeline #105321 passed
"""Test case for Mapping creation"""
import time
import unittest
import json
import os
......@@ -147,6 +148,8 @@ class TestCertificateCreation(unittest.TestCase):
timeout=5,
)
time.sleep(2)
if __name__ == "__main__":
unittest.main()
"""Base TestCase Class for Mapping"""
import os
import time
import unittest
import requests
......@@ -24,3 +25,5 @@ class Base(unittest.TestCase):
headers={"Authorization": f"Token {API_KEY}"},
timeout=5,
)
time.sleep(2)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment