old_contents: from tendrl.common.singleton import to_singleton
  
  
  @to_singleton
  class A(object):
      def __init__(self):
          pass
  
  
  class TestSingleton(object):
      def test_singleton(self, monkeypatch):
          assert id(A()) == id(A())
  
new_contents: from tendrl.common.singleton import to_singleton
  
  
  @to_singleton
  class A(object):
      def __init__(self):
          pass
  
  
  @to_singleton
  class B(object):
      def __init__(self):
          pass
  
  
  class TestSingleton(object):
      def test_singleton(self, monkeypatch):
          assert id(A()) == id(A())
  
      def test_singletonB(self, monkeypatch):
          assert id(B()) == id(B())
  
subject: Update commit message