mirror of
https://github.com/cryptoadvance/specter-desktop.git
synced 2026-08-13 12:33:29 +02:00
12 lines
310 B
Python
12 lines
310 B
Python
""" testing the config.py """
|
|
|
|
from flask import Config
|
|
|
|
|
|
def test_config():
|
|
" how can you read the config if do not create an app? " ""
|
|
config = Config(".")
|
|
print(config)
|
|
config.from_object("cryptoadvance.specter.config.DevelopmentConfig")
|
|
print(config)
|
|
assert config["PORT"] == 25441
|