def METHOD_NAME(self):
    self.env.user.lang = False
    with recorder.use_cassette("test_missing_language") as cassette:
        self.picking._generate_postlogistics_label(skip_attach_file=True)
        self.assertEqual(len(cassette.requests), 2)