# Path: tests/local/base.py
# class StatsTest(unittest.TestCase):
#     def setUp(self):
#         self.registry = Registry()


from tests.local.base import StatsTest


class RegistryTestCase(StatsTest):
    def test_multiple_meter_calls_with_same_name_return_same_instance(self):
        meter1 = self.registry.meter('lol.hurr.durr.Meter')
        meter2 = self.registry.meter('lol.hurr.durr.Meter')

# Path: tests/local/base.py
# class StatsTest(unittest.TestCase):
#     def setUp(self):
#         self.registry = Registry()


# Path: tests/local/test_registry.py
from tests.local.base import StatsTest



class RegistryTestCase(StatsTest):
    def test_multiple_meter_calls_with_same_name_return_same_instance(self):
        meter1 = self.registry.meter('lol.hurr.durr.Meter')
        meter2 = self.registry.meter('lol.hurr.durr.Meter')

        assert id(meter1) == id(meter2)