diff options
author | ogrisel <devnull@localhost> | 2006-06-25 15:08:19 +0000 |
---|---|---|
committer | ogrisel <devnull@localhost> | 2006-06-25 15:08:19 +0000 |
commit | b20eff9b9b18aa992752dc237f7bb79e05710916 (patch) | |
tree | 995a06a66746ed7153abb0f5a9fa42394a93361e /run_tests.py | |
parent | ecd5acb32f0b424e2d54bde5f33b89bd5abe6ff3 (diff) | |
download | rdflib-b20eff9b9b18aa992752dc237f7bb79e05710916.tar.gz |
fixing EOL problems by setting the svn:eol-style property to native and replacing \r\n by a single \n
Diffstat (limited to 'run_tests.py')
-rw-r--r-- | run_tests.py | 116 |
1 files changed, 58 insertions, 58 deletions
diff --git a/run_tests.py b/run_tests.py index 4d2f9e59..2c95fba6 100644 --- a/run_tests.py +++ b/run_tests.py @@ -1,58 +1,58 @@ -import unittest, inspect
-import rdflib
-
-quick = True
-verbose = False
-
-from test.identifier_equality import *
-
-from test.graph import *
-from test.graph2_2 import *
-
-from test.triple_store import *
-from test.context import *
-
-# # Graph no longer has the type checking at the moment. Do we want to
-# # put it back? Should we?
-# #
-# # from test.type_check import *
-
-from test.parser import *
-if not quick:
- from test import parser_rdfcore
- if verbose:
- parser_rdfcore.verbose = 1
- from test.parser_rdfcore import *
-
-from test.rdf import * # how does this manage to be 9 tests?
-
-from test.n3 import *
-from test.n3_quoting import *
-from test.nt import *
-
-from test.util import *
-from test.seq import SeqTestCase
-
-from test.store_performace import *
-
-from test.rules import *
-
-import test.rdfa
-
-if __name__ == "__main__":
-
- test.rdfa.main()
-
- if verbose:
- ts = unittest.makeSuite
- tests = [
- c for c in vars().values()
- if inspect.isclass(c)
- and not isinstance(c, rdflib.Namespace)
- and issubclass(c, unittest.TestCase)
- ]
- suite = unittest.TestSuite(map(ts, tests))
- unittest.TextTestRunner(verbosity=2).run(suite)
- else:
- unittest.main()
-
+import unittest, inspect +import rdflib + +quick = True +verbose = False + +from test.identifier_equality import * + +from test.graph import * +from test.graph2_2 import * + +from test.triple_store import * +from test.context import * + +# # Graph no longer has the type checking at the moment. Do we want to +# # put it back? Should we? +# # +# # from test.type_check import * + +from test.parser import * +if not quick: + from test import parser_rdfcore + if verbose: + parser_rdfcore.verbose = 1 + from test.parser_rdfcore import * + +from test.rdf import * # how does this manage to be 9 tests? + +from test.n3 import * +from test.n3_quoting import * +from test.nt import * + +from test.util import * +from test.seq import SeqTestCase + +from test.store_performace import * + +from test.rules import * + +import test.rdfa + +if __name__ == "__main__": + + test.rdfa.main() + + if verbose: + ts = unittest.makeSuite + tests = [ + c for c in vars().values() + if inspect.isclass(c) + and not isinstance(c, rdflib.Namespace) + and issubclass(c, unittest.TestCase) + ] + suite = unittest.TestSuite(map(ts, tests)) + unittest.TextTestRunner(verbosity=2).run(suite) + else: + unittest.main() + |