Currently ChainerUI support external db, tests can set own database. This PR use own database file on every function (if needed). By this PR and #191, CHAINERUI_ENV have no role, so removed.
add func_db and func_init_db fixture
remove setUp and tearDown to make test database
current tests use class method even if targets are function (not class module), modify them as "function"
depends #190, #191
Currently ChainerUI support external db, tests can set own database. This PR use own database file on every function (if needed). By this PR and #191,
CHAINERUI_ENV
have no role, so removed.func_db
andfunc_init_db
fixture