Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def _3_t2(self):
with apiritif.smart_transaction('t_2'):
response = apiritif.http.get('url_2.0')
sleep(2.0)
with apiritif.transaction('t_22'):
response = apiritif.http.get('url_22.0')
sleep(3.0)
def test_1_apiritif(self):
with apiritif.transaction('apiritif'):
response = apiritif.http.get('http://localhost:8000/')