We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e3d6de commit 0b57dc7Copy full SHA for 0b57dc7
tests/unit/sdk/test_timestamp.py
@@ -12,19 +12,19 @@
12
def test_init_empty():
13
t1 = Timestamp()
14
assert isinstance(t1, Timestamp)
15
- assert t1.to_string() == t1._obj.instant().format_common_iso()
+ assert t1.to_datetime() == t1._obj.py_datetime()
16
17
t2 = Timestamp(None)
18
assert isinstance(t2, Timestamp)
19
- assert t2.to_string() == t2._obj.instant().format_common_iso()
+ assert t2.to_datetime() == t2._obj.py_datetime()
20
21
22
def test_init_timestamp():
23
24
t2 = Timestamp(t1)
25
assert t1.to_string() == t2.to_string()
26
27
28
29
30
def test_parse_string():
0 commit comments