def test_show_hide_map_bounds(): input_file = os.path.join(data_dir, 'Star.bna') r = Renderer(input_file, output_dir, image_size=(600, 600)) r.draw_background() r.save_background(os.path.join(output_dir, 'star_background.png')) # try again without the map bounds: r.draw_map_bounds = False r.draw_background() r.save_background(os.path.join(output_dir, 'star_background_no_bound.png'))