def test_region_from_string_that_is_none(): """ Test region parsing from empty string """ region_name = None region = _get_region(region_name) region.should.be.none
def test_region_from_string_that_does_not_exist(): """ Test region parsing from string for non-existant region """ region_name = 'foobar' region = _get_region(region_name) region.should.be.none
def test_region_from_string_that_exists(): """ Test region parsing from string for existing region """ region_name = 'us-east-1' region = _get_region(region_name) region.shouldnt.be.none