summaryrefslogtreecommitdiff
path: root/run_tests.py
diff options
context:
space:
mode:
authoreikeon <devnull@localhost>2010-02-03 20:43:41 +0000
committereikeon <devnull@localhost>2010-02-03 20:43:41 +0000
commitf13782cae32580c6298df0862902fbad53e78f6e (patch)
treebe99db78b660a50e19b3bad134cd463631a34e26 /run_tests.py
parentfedd496b518ee5abfdb4d759961d58481aeb949f (diff)
downloadrdflib-f13782cae32580c6298df0862902fbad53e78f6e.tar.gz
removed old commented out code
Diffstat (limited to 'run_tests.py')
-rwxr-xr-xrun_tests.py83
1 files changed, 0 insertions, 83 deletions
diff --git a/run_tests.py b/run_tests.py
index dbb8bb9d..d74e24df 100755
--- a/run_tests.py
+++ b/run_tests.py
@@ -90,86 +90,3 @@ if __name__ == '__main__':
finalArgs = argv + NOSE_ARGS
print "Running nose with:", " ".join(finalArgs[1:])
nose.run_exit(argv=finalArgs)
-
-
-# TODO: anything from the following we've left behind?
-old_run_tests = """
-import logging
-
-_logger = logging.getLogger()
-_logger.setLevel(logging.ERROR)
-_formatter = logging.Formatter('%(name)s %(levelname)s %(message)s')
-_handler = logging.StreamHandler()
-_handler.setFormatter(_formatter)
-_logger.addHandler(_handler)
-
-import unittest, inspect
-import rdflib
-
-quick = True
-verbose = True
-
-from test.IdentifierEquality import IdentifierEquality
-from test.sparql.QueryTestCase import QueryTestCase
-
-from test.graph 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.Sleepycat 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.trix import *
-
-from test.util import *
-from test.seq import SeqTestCase
-
-#from test.store_performace import *
-
-from test.rules import *
-
-from test.n3Test import *
-
-from test.JSON import JSON
-
-import test.rdfa
-
-from test.events import *
-
-def run():
- # TODO: Fix failed test and comment back in.
- # 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()
-
-"""