def test_server_create_and_delete(self):
        """ Creates a server with no config, test it is there, delete it and make sure gone. """
        logger.info("Running test_server_create_and_delete")

        indi_server = PanIndiServer()
        pid = indi_server._proc.pid
        fifo_file = indi_server._fifo

        assert pid > 0, "No PID found"
        assert os.getpgid(pid), "OS Can't find PID"
        assert indi_server.is_connected, "Server not connected"

        del indi_server
        assert os.getpgid(pid) is not True, "Server still running, didn't shut down properly"
        assert os.path.exists(fifo_file) is not True, "FIFO still exists"
dataset/ETHPy150Open panoptes/POCS/panoptes/tests/test_indi_utils.py/TestIndiBasics.test_server_create_and_delete/original