#NEWLINE# def test_migrate_osffiles( self ) : #NEWLINE# #INDENT# node = NodeFactory ( ) #NEWLINE# osf_addon = node . get_addon ( 'osffiles' ) #NEWLINE# AddonFilesNodeSettings . remove_one ( osf_addon ) #NEWLINE# assert_false ( node . has_addon ( 'osffiles' ) ) #NEWLINE# was_migrated = migrate_addons ( node ) #NEWLINE# assert_true ( was_migrated ) #NEWLINE# assert_true ( node . has_addon ( 'osffiles' ) )