def METHOD_NAME(self):
    raised = self.assertRaises(
        sources.errors.SnapcraftSourceIncompatibleOptionsError,
        sources.Bazaar,
        "lp://mysource",
        "source_dir",
        source_tag="tag",
        source_commit="2",
    )
    self.assertThat(raised.source_type, Equals("bzr"))
    self.assertThat(raised.options, Equals(["source-tag", "source-commit"]))