You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
deftest_datadir(hook, host):
""" Verify if datadir can be changed and created proprely. Verify datadir metada, if it's owned by script user (dogecoin). """# Use a unique directory for this testtmp_datadir="/tmp/datadir_test"datadir_argument=f"-datadir={tmp_datadir}"test_args= ["dogecoind", datadir_argument]
test_environ= {}
result_args= [
pytest.abs_path("dogecoind"),
datadir_argument,
"-printtoconsole",
]
result_environ= {}
# Run test to generate datadirhook.test(test_args, test_environ, result_args, result_environ)
asserthook.result==hook.reference# Test datadir metadatadatadir_folder=host.file(tmp_datadir)
assertdatadir_folder.user==pytest.userassertdatadir_folder.group==pytest.userassertdatadir_folder.mode==0o755
The text was updated successfully, but these errors were encountered:
Convert test from #25 to CI tests using integration test framework.
The text was updated successfully, but these errors were encountered: