File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -102,8 +102,11 @@ async def a_migrate_fixtures(bind_name: str, Session: async_sessionmaker[AsyncSe
102102 signature = calculate_md5 (f"{ fixtures_path } /{ module_name } .py" )
103103 if fixture_migration :
104104 if signature != fixture_migration .signature :
105- logging .warning (f"Signature mismatch for { fixture_migration .filename } fixture. The file has been modified after being processed." )
106- logging .debug (f"{ module_name } fixtures already migrated for { bind_name } " )
105+ logging .warning (f"Signature mismatch for { fixture_migration .filename } fixture."
106+ f" The file has been already processed but has been modified since then."
107+ f" It will not be processed again." )
108+ else :
109+ logging .debug (f"{ module_name } fixtures already processed for { bind_name } " )
107110 continue
108111
109112 session .add_all (m .fixtures ().get (bind_name , []))
You can’t perform that action at this time.
0 commit comments