'``GetPackageVersion`` assigns the exact version of a found package to
its ``version`` attribute.'

def test_version_found(self):

    versions = ['0.3.2', '0.3.3.dev5', '0.3.2.post1', '0.3.2+1.gf661a6a', '0.3.2.post1+1.gf661a6a', '0.3.2rc1', '0.3.2+1.gf661a6a.dirty0.3.2.post1+1.gf661a6a.dirty']
    for version in versions:
        self.assert_version_found(version=version)
