mirror of
https://github.com/webrecorder/pywb.git
synced 2025-03-24 06:59:52 +01:00
standardize test scripts to test_*.py instead of *_test.py
This commit is contained in:
parent
596f67437b
commit
87df7c22f1
@ -23,14 +23,11 @@ org,iana)/domains/root/servers 20140126201227 http://www.iana.org/domains/root/s
|
|||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
from test_cdxserver import cdx_ops_test
|
||||||
|
|
||||||
|
|
||||||
from cdxserver_test import cdx_ops_test
|
|
||||||
|
|
||||||
from pywb import get_test_dir
|
from pywb import get_test_dir
|
||||||
|
|
||||||
|
|
||||||
test_zipnum = get_test_dir() + 'zipcdx/zipnum-sample.idx'
|
test_zipnum = get_test_dir() + 'zipcdx/zipnum-sample.idx'
|
||||||
print test_zipnum
|
|
||||||
|
|
||||||
def zip_ops_test(url, **kwargs):
|
def zip_ops_test(url, **kwargs):
|
||||||
sources = test_zipnum
|
sources = test_zipnum
|
||||||
@ -40,5 +37,3 @@ def zip_ops_test(url, **kwargs):
|
|||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
import doctest
|
import doctest
|
||||||
doctest.testmod()
|
doctest.testmod()
|
||||||
|
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user