aboutsummaryrefslogtreecommitdiff
path: root/tests/unit/test_client_options.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/test_client_options.py')
-rw-r--r--tests/unit/test_client_options.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/unit/test_client_options.py b/tests/unit/test_client_options.py
index 14cae9f..952adfc 100644
--- a/tests/unit/test_client_options.py
+++ b/tests/unit/test_client_options.py
@@ -34,3 +34,9 @@ def test_from_dict_bad_argument():
client_options.from_dict(
{"api_endpoint": "foo.googleapis.com", "bad_arg": "1234"}
)
+
+
+def test_repr():
+ options = client_options.ClientOptions(api_endpoint="foo.googleapis.com")
+
+ assert repr(options) == "ClientOptions: {'api_endpoint': 'foo.googleapis.com'}"