def test_handle_meter_data_no_ts(self):
        bs = seed_models.BuildingSnapshot.objects.create()
        meter_data = [
            {
                'name': 'tester',
                'energy_type': 'Electricity',
                'energy_units': 'kWh',
            }

        ]
        bs = seed_models._handle_meter_data(bs, meter_data)

        saved_meter = bs.meters.first()

        self.assertEqual(saved_meter.name, meter_data[0]['name'])
        self.assertEqual(
            saved_meter.energy_type,
            convert_choice_data(
                meter_data[0]['energy_type'],
                seed_models.ENERGY_TYPES
            )
        )
        self.assertEqual(
            saved_meter.energy_units,
            convert_choice_data(
                meter_data[0]['energy_units'],
                seed_models.ENERGY_UNITS
            )
        )

        self.assertEqual(saved_meter.timeseries_data.all().count(), 0)
NSObject-compatible initializer
dataset/ETHPy150Open buildingenergy/buildingenergy-platform/seed/tests/test_models.py/TestTimeSeriesMeterFunctions.test_handle_meter_data_no_ts--crossover with--dataset/ETHPy150Open nigelkersten/pymacadmin/bin/crankd.py/NotificationHandler.init