mv google/test to tests/ and make it a package
This commit is contained in:
parent
885afe6f06
commit
461befef21
Can't render this file because it is too large.
|
Can't render this file because it is too large.
|
|
@ -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):
|
|
@ -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):
|
|
@ -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):
|
Loading…
Reference in New Issue