Browse Source

[1261] missing EXTRA_DIST, and corrected data dir for the writable DB.

JINMEI Tatuya 13 years ago
parent
commit
3f2d29d0dc
2 changed files with 3 additions and 1 deletions
  1. 2 0
      src/bin/xfrin/tests/Makefile.am
  2. 1 1
      src/bin/xfrin/tests/xfrin_test.py

+ 2 - 0
src/bin/xfrin/tests/Makefile.am

@@ -1,6 +1,8 @@
 PYCOVERAGE_RUN=@PYCOVERAGE_RUN@
 PYTESTS = xfrin_test.py
 EXTRA_DIST = $(PYTESTS)
+EXTRA_DIST += testdata/example.com # not necessarily needed, but for reference
+EXTRA_DIST += testdata/example.com.sqlite3
 
 # If necessary (rare cases), explicitly specify paths to dynamic libraries
 # required by loadable python modules.

+ 1 - 1
src/bin/xfrin/tests/xfrin_test.py

@@ -1210,7 +1210,7 @@ class TestIXFRSessionWithSQLite3(TestXfrinConnection):
     '''
     def setUp(self):
         self.sqlite3db_src = TESTDATA_SRCDIR + '/example.com.sqlite3'
-        self.sqlite3db_obj = TESTDATA_SRCDIR + '/example.com.sqlite3.copy'
+        self.sqlite3db_obj = TESTDATA_OBJDIR + '/example.com.sqlite3.copy'
         super().setUp()
         if os.path.exists(self.sqlite3db_obj):
             os.unlink(self.sqlite3db_obj)