Updates conftest fixtures so they do not autorun

The modules that need to run either bitcoind or the api do now reference to the fixture in the first test that needs it. Since the fixtures are definexd session-wise the rest of the modules will have access to them from that point on.
This commit is contained in:
Sergi Delgado Segura
2019-10-14 13:19:54 +01:00
parent d35b9c13c4
commit d43ab76220
6 changed files with 14 additions and 8 deletions

View File

@@ -188,7 +188,7 @@ def test_check_hash_function():
assert (Inspector.check_hash_function(hash_function)[0] == APPOINTMENT_EMPTY_FIELD)
def test_inspect():
def test_inspect(run_bitcoind):
# At this point every single check function has been already tested, let's test inspect with an invalid and a valid
# appointments.