Пример #1
0
 def test_pretty_key(self):
     visitor = ShardingByUserVisitor(Mock())
     self.assertEqual(visitor.pretty_key('1'), 'User #1')