aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMF2199 <38331387+mf2199@users.noreply.github.com>2020-05-28 12:05:55 -0400
committerGitHub <noreply@github.com>2020-05-28 12:05:55 -0400
commit7be1e59e9d75c112f346d2b76dce3dd60e3584a1 (patch)
tree4e0731be577715cae524d2415d15827d0e782d57 /tests
parente4eaec0ff255114138d3715280f86d34d861a6fa (diff)
downloadpython-api-core-7be1e59e9d75c112f346d2b76dce3dd60e3584a1.tar.gz
feat: [CBT-6 helper] Exposing Retry._deadline as a property (#20)
* Retry._deadline exposed as a property * feat Retry._deadline exposed as a property * added property test Co-authored-by: q-logic <52290913+q-logic@users.noreply.github.com> Co-authored-by: Christopher Wilcox <crwilcox@google.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/test_retry.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/unit/test_retry.py b/tests/unit/test_retry.py
index be0c688..a0160e9 100644
--- a/tests/unit/test_retry.py
+++ b/tests/unit/test_retry.py
@@ -162,6 +162,7 @@ class TestRetry(object):
assert retry_._multiplier == 2
assert retry_._deadline == 120
assert retry_._on_error is None
+ assert retry_.deadline == 120
def test_constructor_options(self):
_some_function = mock.Mock()