Skip to content

Commit

Permalink
Test name updates.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexdlaird committed Dec 31, 2024
1 parent 31500c7 commit b1ddc62
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions tests/test_ngrok.py
Original file line number Diff line number Diff line change
Expand Up @@ -911,7 +911,7 @@ def test_upgrade_ngrok_config_file_v2_to_v3(self):
ngrok.connect(pyngrok_config=pyngrok_config_v3)

@unittest.skipIf(not os.environ.get("NGROK_AUTHTOKEN"), "NGROK_AUTHTOKEN environment variable not set")
def test_full_v2_http_tunnel_definitions(self):
def test_full_config_v2_http_tunnel_definitions(self):
# GIVEN
config = {
"version": "2",
Expand Down Expand Up @@ -966,7 +966,7 @@ def test_full_v2_http_tunnel_definitions(self):
ngrok.connect(name="my-tunnel", pyngrok_config=pyngrok_config)

@unittest.skipIf(not os.environ.get("NGROK_AUTHTOKEN"), "NGROK_AUTHTOKEN environment variable not set")
def test_full_v2_tcp_tunnel_definitions(self):
def test_full_config_v2_tcp_tunnel_definitions(self):
# GIVEN
config = {
"version": "2",
Expand Down Expand Up @@ -1003,7 +1003,7 @@ def test_full_v2_tcp_tunnel_definitions(self):
ngrok.connect(name="my-tunnel", pyngrok_config=pyngrok_config)

@unittest.skipIf(not os.environ.get("NGROK_AUTHTOKEN"), "NGROK_AUTHTOKEN environment variable not set")
def test_full_v2_tls_tunnel_definitions(self):
def test_full_config_v2_tls_tunnel_definitions(self):
# GIVEN
config = {
"version": "2",
Expand Down Expand Up @@ -1045,7 +1045,7 @@ def test_full_v2_tls_tunnel_definitions(self):
with self.assertRaises(PyngrokNgrokHTTPError):
ngrok.connect(name="my-tunnel", pyngrok_config=pyngrok_config)

# def test_full_v3_tunnel_definitions(self):
# def test_full_config_v3_tunnel_definitions(self):
# # GIVEN
# config = {
# "version": "3",
Expand All @@ -1060,7 +1060,6 @@ def test_full_v2_tls_tunnel_definitions(self):
# "host_header": "host-header",
# "crt": "crt",
# "key": "key",
# "client_cas": "clientCas",
# "remote_addr": "remoteAddr",
# "metadata": "metadata",
# "compression": "false",
Expand Down

0 comments on commit b1ddc62

Please sign in to comment.