def test_get_hostname(self):
        with patch.object(network.socket, 'gethostname', return_value='A'):
            self.assertEqual(network.get_hostname(), 'A')
Push a function which performs gl commands
dataset/ETHPy150Open saltstack/salt/tests/unit/modules/network_test.py/NetworkTestCase.test_get_hostname--crossover with--dataset/ETHPy150Open sympy/sympy/sympy/plotting/pygletplot/plot_mode_base.py/PlotModeBase.push_solid