<s> from preggy import expect <EOL> from cyclops . config import Config <EOL> from cyclops . projects import ProjectLoader <EOL> def test_project_keys_without_db ( ) : <EOL> config = Config ( ) <EOL> config . PROJECT_KEYS = [ <EOL> ( <NUM_LIT:1> , "<STR_LIT>" , "<STR_LIT>" ) , <EOL> ( <NUM_LIT:2> , "<STR_LIT>" , "<STR_LIT>" ) , <EOL> ( <NUM_LIT:1> , "<STR_LIT>" , "<STR_LIT>" ) , <EOL> ] <EOL> config . DB_HOST = None <EOL> project_loader = ProjectLoader ( config ) <EOL> project_keys = project_loader . get_project_keys ( ) <EOL> expect ( project_keys ) . to_equal ( { <EOL> <NUM_LIT:1> : { "<STR_LIT>" : [ "<STR_LIT>" , "<STR_LIT>" ] , "<STR_LIT>" : [ "<STR_LIT>" , "<STR_LIT>" ] } , <EOL> <NUM_LIT:2> : { "<STR_LIT>" : [ "<STR_LIT>" ] , "<STR_LIT>" : [ "<STR_LIT>" ] } , <EOL> } ) </s>
