summaryrefslogtreecommitdiffstats
path: root/gluster/swift/common/middleware/gswauth/test_swauth/__init__.py
blob: 0ee3666c4b09aa74aa5af6da3c9e87888315b110 (plain)
1
2
3
4
5
6
7
8
9
10
# See http://code.google.com/p/python-nose/issues/detail?id=373
# The code below enables nosetests to work with i18n _() blocks

import __builtin__
import sys
import os
from ConfigParser import MissingSectionHeaderError
from StringIO import StringIO

setattr(__builtin__, '_', lambda x: x)