Skip to content

Commit 8bb57b7

Browse files
Fixed tests
1 parent a36cbd8 commit 8bb57b7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def test_version(self):
2525
consumer_secret=self.consumer_secret
2626
)
2727

28-
self.assertEqual(api.version, "v3")
28+
self.assertEqual(api.version, "wc/v3")
2929

3030
def test_non_ssl(self):
3131
""" Test non-ssl """
@@ -37,7 +37,7 @@ def test_non_ssl(self):
3737
self.assertFalse(api.is_ssl)
3838

3939
def test_with_ssl(self):
40-
""" Test non-ssl """
40+
""" Test ssl """
4141
api = woocommerce.API(
4242
url="https://woo.test",
4343
consumer_key=self.consumer_key,
@@ -46,7 +46,7 @@ def test_with_ssl(self):
4646
self.assertTrue(api.is_ssl, True)
4747

4848
def test_with_timeout(self):
49-
""" Test non-ssl """
49+
""" Test timeout """
5050
api = woocommerce.API(
5151
url="https://woo.test",
5252
consumer_key=self.consumer_key,

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy