mirror of
https://github.com/samba-team/samba.git
synced 2025-03-29 02:50:28 +03:00
Support using third party iso8601 module if system doesn't provide one.
Change-Id: I5d035738d244d66d33788636c8ee8b322c227a0e Signed-off-by: Jelmer Vernooij <jelmer@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
13bd83ad30
commit
850b3938e1
@ -17,6 +17,11 @@
|
||||
|
||||
"""Subunit test protocol."""
|
||||
|
||||
import samba
|
||||
|
||||
samba.ensure_third_party_module("iso8601", "pyiso8601")
|
||||
import iso8601
|
||||
|
||||
import unittest
|
||||
|
||||
|
||||
|
@ -21,7 +21,7 @@ import re
|
||||
import sys
|
||||
from samba import subunit
|
||||
from samba.subunit.run import TestProtocolClient
|
||||
import iso8601
|
||||
from samba.subunit import iso8601
|
||||
import unittest
|
||||
|
||||
VALID_RESULTS = ['success', 'successful', 'failure', 'fail', 'skip', 'knownfail', 'error', 'xfail', 'skip-testsuite', 'testsuite-failure', 'testsuite-xfail', 'testsuite-success', 'testsuite-error', 'uxsuccess', 'testsuite-uxsuccess']
|
||||
|
Loading…
x
Reference in New Issue
Block a user