Skip to content

Commit

Permalink
chg: Check if the instance is reachable
Browse files Browse the repository at this point in the history
  • Loading branch information
Rafiot committed Mar 28, 2024
1 parent 8c6d2fc commit 73ad55f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/testing_github.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-

import json
import unittest
Expand Down Expand Up @@ -32,6 +31,8 @@ def _wait_capture_done(self, uuid: str) -> None:
@classmethod
def setUpClass(cls) -> None:
setattr(cls, "github_instance", Lookyloo('http://127.0.0.1:5100'))
# Check that the local instance is up
assert cls.github_instance.is_up
requests.head('https://rafiot.eu.pythonanywhere.com/')
time.sleep(10)

Expand Down

0 comments on commit 73ad55f

Please sign in to comment.