def setUp(self):
    loc = os.path.realpath(os.path.join(os.getcwd(), os.path.dirname(__file__)))
    with open(os.path.join(loc, 'sighash.json')) as f:
        self.data = json.load(f)
def setUp(self):
    loc = os.path.realpath(os.path.join(os.getcwd(), os.path.dirname(__file__)))
    with open(os.path.join(loc, 'sighash.json')) as f:
        self.data = json.load(f)