Skip to content

Commit c55c8aa

Browse files
authored
Update test_libidReference.py
1 parent f8b71f3 commit c55c8aa

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

tests/Unit/Models/Fields/test_libidReference.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,16 @@ def test_str():
1515
"#2.0#0#C:\\Windows\\System32\\stdole2.tlb#OLE Automation")
1616
assert str(libidRef) == expected
1717
assert len(libidRef) == 94
18+
19+
def test_posix():
20+
guid = uuid.UUID('0002043000000000C000000000000046')
21+
libidRef = LibidReference(
22+
guid,
23+
"2.0",
24+
"0",
25+
"//usr/bin/stdole2.tlb",
26+
"OLE Automation"
27+
)
28+
expected = ("*\\H{00020430-0000-0000-C000-000000000046}"
29+
"#2.0#0#//usr/bin/stdole2.tlb#OLE Automation")
30+
assert str(libidRef) == expected

0 commit comments

Comments
 (0)