def METHOD_NAME(self):
    """Test replacement via regex"""
    o = ScmOverride({
        'replace' : {
            'url' : {
                'pattern'     : "@.*:",
                'replacement' : "@acme.test:"
            }
        }
    })
    match, scm = o.mangle(self.scm, Env())
    self.assertEqual(scm, {
        'scm' : "git",
        'url' : "git@acme.test:foo/bar.git",
        'branch' : "develop"
    })