def test_simple(self):
        """
        Tests a minimal satellite that only has a known PRN.

        Tests that the azimuth, elevation and signal to noise ratios
        are correct and verifies the repr.
        """
        s = base.Satellite(identifier=1,
                           azimuth=270.,
                           elevation=30.,
                           signalToNoiseRatio=25.)

        self.assertEqual(s.identifier, 1)
        self.assertEqual(s.azimuth, 270.)
        self.assertEqual(s.elevation, 30.)
        self.assertEqual(s.signalToNoiseRatio, 25.)
        self.assertEqual(repr(s), "<Satellite (1), azimuth: 270.0, "
                                   "elevation: 30.0, snr: 25.0>")

        Tests a minimal satellite that only has a known PRN.

        Tests that the azimuth, elevation and signal to noise ratios
        are correct and verifies the repr.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/positioning/test/test_base.py