<s> from __future__ import unicode_literals <EOL> import boto . glacier <EOL> import sure <EOL> from moto import mock_glacier <EOL> @ mock_glacier <EOL> def test_create_vault ( ) : <EOL> conn = boto . glacier . connect_to_region ( "<STR_LIT>" ) <EOL> conn . create_vault ( "<STR_LIT>" ) <EOL> vaults = conn . list_vaults ( ) <EOL> vaults . should . have . length_of ( <NUM_LIT:1> ) <EOL> vaults [ <NUM_LIT:0> ] . name . should . equal ( "<STR_LIT>" ) <EOL> @ mock_glacier <EOL> def test_delete_vault ( ) : <EOL> conn = boto . glacier . connect_to_region ( "<STR_LIT>" ) <EOL> conn . create_vault ( "<STR_LIT>" ) <EOL> vaults = conn . list_vaults ( ) <EOL> vaults . should . have . length_of ( <NUM_LIT:1> ) <EOL> conn . delete_vault ( "<STR_LIT>" ) <EOL> vaults = conn . list_vaults ( ) <EOL> vaults . should . have . length_of ( <NUM_LIT:0> ) </s>
