Copy data.gramps to test directory and point db_test at it
This commit is contained in:
parent
82441292d1
commit
70404e1931
1822
data/tests/data.gramps
Normal file
1822
data/tests/data.gramps
Normal file
File diff suppressed because it is too large
Load Diff
@ -24,10 +24,10 @@ import os
|
|||||||
from gramps.test.test_util import Gramps
|
from gramps.test.test_util import Gramps
|
||||||
from gramps.gen.db import open_database
|
from gramps.gen.db import open_database
|
||||||
from gramps.gen.lib import *
|
from gramps.gen.lib import *
|
||||||
|
from gramps.gen.const import DATA_DIR
|
||||||
|
|
||||||
ddir = os.path.dirname(__file__)
|
TEST_DIR = os.path.abspath(os.path.join(DATA_DIR, "tests"))
|
||||||
example = os.path.join(ddir, "..", "..", "..", "..",
|
example = os.path.join(TEST_DIR, "data.gramps")
|
||||||
"example", "gramps", "data.gramps")
|
|
||||||
|
|
||||||
class BSDDB:
|
class BSDDB:
|
||||||
NAME = "Example BSDDB Test"
|
NAME = "Example BSDDB Test"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user