

def test_init(self):
    old_gs_home = os.getenv('GROUNDSTATION_HOME')
    os.environ['GROUNDSTATION_HOME'] = old_gs_home.path
    station = Station.from_env(None)
    self.assertEqual(station.store.path, self.path)
    if old_gs_home:
        os.environ['GROUNDSTATION_HOME'] = old_gs_home

dataset/ETHPy150Open richo/groundstation/test/test_station.py TestSTationInitFromEnv.test_init/VarMisuse@26/46 `self`->`old_gs_home`