just if not elements:
          self.fail ...