def test_publish_non_release_fails(self):
        aws = FakeAWS(routing_rules={}, s3_buckets={})
        self.assertRaises(
            NotARelease,
            self.publish_docs,
            aws, '0.3.0+444.gf05215b', '0.3.0+444.gf05215b',
            environment=Environments.STAGING)
Trying to publish to version that isn't a release fails.
dataset/ETHPy150Open ClusterHQ/flocker/admin/test/test_release.py/PublishDocsTests.test_publish_non_release_fails