Fix gitignore and make a change to config tests

pull/906/head
Nikhil Parasaram 6 years ago
parent 93c1e85433
commit 57478e7cce
  1. 2
      .gitignore
  2. 2
      tests/mythril/mythril_config_test.py

2
.gitignore vendored

@ -175,7 +175,7 @@ lol*
coverage_html_report/ coverage_html_report/
tests/testdata/outputs_current/ tests/testdata/outputs_current/
tests/testdata/outputs_current_laser_result/ tests/testdata/outputs_current_laser_result/
tests/testdata/mythril_dir/signatures.db tests/testdata/mythril_config_inputs/config.ini
tests/testdata/leveldb_dir/ tests/testdata/leveldb_dir/
# VSCode # VSCode

@ -9,7 +9,7 @@ from mythril.exceptions import CriticalError
def test_config_path_dynloading(): def test_config_path_dynloading():
config = MythrilConfig() config = MythrilConfig()
config.config_path = ( config.config_path = str(
Path(__file__).parent.parent / "testdata/mythril_config_inputs/config.ini" Path(__file__).parent.parent / "testdata/mythril_config_inputs/config.ini"
) )
config.set_api_from_config_path() config.set_api_from_config_path()

Loading…
Cancel
Save