#NEWLINE# @ run_with_all_backends #NEWLINE# def test_archive_flips_sp_cases( self ) : #NEWLINE# #INDENT# loc = make_loc ( 'someloc' ) #NEWLINE# sp = loc . linked_supply_point ( ) #NEWLINE# self . assertFalse ( sp . closed ) #NEWLINE# loc . archive ( ) #NEWLINE# sp = loc . linked_supply_point ( ) #NEWLINE# self . assertTrue ( sp . closed ) #NEWLINE# loc . unarchive ( ) #NEWLINE# sp = loc . linked_supply_point ( ) #NEWLINE# self . assertFalse ( sp . closed )