def get_weight(self):
        if self.is_variant() and not self.active_dimensions:
            return self.parent.weight
        else:
            return self.weight
Test that we email a simple record appropriately.
dataset/ETHPy150Open diefenbach/django-lfs/lfs/catalog/models.py/Product.get_weight--crossover with--dataset/ETHPy150Open wingu/failnozzle/failnozzle/tests/test_server.py/test_flusher_message