SimplyStaking / panic_cosmos

🚨 PANIC for Cosmos
GNU General Public License v3.0
47 stars 33 forks source link

Cannot run tests without first creating config files. #17

Closed migueldingli1997 closed 4 years ago

migueldingli1997 commented 4 years ago

The included unit tests cannot be executed before creating the three config files (main/nodes/repos) required for normal operation of PANIC. These however should not be required as the testing code provides its own three config files.

A solution to this would probably have to do away with the internal_parsed and user_parsed files, or at least move the config variables within to some class, so that the config variables are not created as soon as the files are loaded.