mv google/test to tests/ and make it a package

This commit is contained in:
Paul Makepeace 2011-04-28 15:47:10 +00:00
parent 885afe6f06
commit 461befef21
12 changed files with 7 additions and 4 deletions

0
tests/__init__.py Normal file
View File

View File

Can't render this file because it is too large.

View File

@ -1,6 +1,9 @@
#!/usr/bin/env python #!/usr/bin/env python
""" """
test_refine.py refinetest.py
RefineTestCase is a base class that loads Refine projects specified by
the class's 'project_file' attribute and provides a 'project' object.
These tests require a connection to a Refine server either at These tests require a connection to a Refine server either at
http://127.0.0.1:3333/ or by specifying environment variables REFINE_HOST http://127.0.0.1:3333/ or by specifying environment variables REFINE_HOST
@ -15,7 +18,7 @@ import unittest
from google.refine import refine from google.refine import refine
from google.refine import facet from google.refine import facet
PATH_TO_TEST_DATA = os.path.join('google', 'test', 'data') PATH_TO_TEST_DATA = os.path.join('tests', 'data')
class RefineTestCase(unittest.TestCase): class RefineTestCase(unittest.TestCase):

View File

@ -13,7 +13,7 @@ import unittest
from google.refine import refine from google.refine import refine
from google.refine import facet from google.refine import facet
from google.test import refinetest from tests import refinetest
class RefineServerTest(refinetest.RefineTestCase): class RefineServerTest(refinetest.RefineTestCase):

View File

@ -18,7 +18,7 @@ import unittest
from google.refine import refine from google.refine import refine
from google.refine import facet from google.refine import facet
from google.test import refinetest from tests import refinetest
class TutorialTestFacets(refinetest.RefineTestCase): class TutorialTestFacets(refinetest.RefineTestCase):