mirror of
https://github.com/opencultureconsulting/openrefine-client.git
synced 2025-02-16 00:00:07 +01:00
mv google/test to tests/ and make it a package
This commit is contained in:
parent
885afe6f06
commit
461befef21
0
tests/__init__.py
Normal file
0
tests/__init__.py
Normal file
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
|
||||
"""
|
||||
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
|
||||
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 facet
|
||||
|
||||
PATH_TO_TEST_DATA = os.path.join('google', 'test', 'data')
|
||||
PATH_TO_TEST_DATA = os.path.join('tests', 'data')
|
||||
|
||||
|
||||
class RefineTestCase(unittest.TestCase):
|
@ -13,7 +13,7 @@ import unittest
|
||||
|
||||
from google.refine import refine
|
||||
from google.refine import facet
|
||||
from google.test import refinetest
|
||||
from tests import refinetest
|
||||
|
||||
|
||||
class RefineServerTest(refinetest.RefineTestCase):
|
@ -18,7 +18,7 @@ import unittest
|
||||
|
||||
from google.refine import refine
|
||||
from google.refine import facet
|
||||
from google.test import refinetest
|
||||
from tests import refinetest
|
||||
|
||||
|
||||
class TutorialTestFacets(refinetest.RefineTestCase):
|
Loading…
x
Reference in New Issue
Block a user