<s> """<STR_LIT>""" <EOL> import os <EOL> from websauna . utils import secrets <EOL> def test_read_local_secrets ( ) : <EOL> """<STR_LIT>""" <EOL> data = secrets . read_ini_secrets ( "<STR_LIT>" ) <EOL> assert data . get ( "<STR_LIT>" ) == os . environ [ "<STR_LIT>" ] <EOL> def test_file_secrets ( ) : <EOL> """<STR_LIT>""" <EOL> data = secrets . read_ini_secrets ( "<STR_LIT>" + os . path . abspath ( "<STR_LIT>" ) ) <EOL> assert data . get ( "<STR_LIT>" ) == os . environ [ "<STR_LIT>" ] <EOL> def test_read_local_secrets ( ) : <EOL> """<STR_LIT>""" <EOL> data = secrets . read_ini_secrets ( "<STR_LIT>" ) <EOL> assert data . get ( "<STR_LIT>" ) == os . environ [ "<STR_LIT>" ] </s>
