def test_good(self):
        expected = {
            '0.1.0': RPMVersion(version='0.1.0', release='1'),
            '0.1.0+99.g3d644b1': RPMVersion(
                version='0.1.0', release='1.99.g3d644b1'),
            '0.1.1rc1': RPMVersion(version='0.1.1', release='0.rc.1'),
            '0.1.1': RPMVersion(version='0.1.1', release='1'),
            '0.2.0.dev1': RPMVersion(version='0.2.0', release='0.dev.1'),
            '0.2.0.dev2+99.g3d644b1':
                RPMVersion(version='0.2.0', release='0.dev.2.99.g3d644b1'),
            '0.2.0.dev3+100.g3d644b2.dirty': RPMVersion(
                version='0.2.0', release='0.dev.3.100.g3d644b2.dirty'),
        }
        unexpected_results = []
        for supplied_version, expected_rpm_version in expected.items():
            actual_rpm_version = make_rpm_version(supplied_version)
            if actual_rpm_version != expected_rpm_version:
                unexpected_results.append((
                    supplied_version,
                    actual_rpm_version,
                    expected_rpm_version,
                ))

        if unexpected_results:
            self.fail(unexpected_results)
Test that L{proto_helpers.StringTransport} doesn't accept unicode data.
dataset/ETHPy150Open ClusterHQ/flocker/flocker/common/test/test_version.py/MakeRpmVersionTests.test_good--crossover with--dataset/ETHPy150Open twisted/twisted/twisted/test/test_protocols.py/StringTransportTests.test_noUnicode