def postgres_contents_config():
config = Config()<EOL>config.NotebookApp.contents_manager_class = PostgresContentsManager<EOL>config.PostgresContentsManager.user_id = '<STR_LIT:test>'<EOL>config.PostgresContentsManager.db_url = TEST_DB_URL<EOL>return config<EOL>
Shared setup code for PostgresContentsAPITest and subclasses.