def METHOD_NAME(self):
    raised = self.assertRaises(
        sources.errors.SnapcraftSourceInvalidOptionError,
        sources.Subversion,
        "svn://mysource",
        "source_dir",
        source_tag="tag",
    )
    self.assertThat(raised.source_type, Equals("svn"))
    self.assertThat(raised.option, Equals("source-tag"))