Browse Source

Update timestamp index test

pull/53/head
Duke Leto 4 years ago
parent
commit
e9340c6a28
  1. 11
      qa/rpc-tests/timestampindex.py

11
qa/rpc-tests/timestampindex.py

@ -1,19 +1,18 @@
#!/usr/bin/env python2
# Copyright (c) 2014-2015 The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
# Copyright (c) 2019-2020 The Hush developers
# Released under the GPLv3
#
# Test timestampindex generation and fetching
#
import time
from test_framework.test_framework import BitcoinTestFramework
from test_framework.test_framework import HushTestFramework
from test_framework.util import *
class TimestampIndexTest(BitcoinTestFramework):
class TimestampIndexTest(HushTestFramework):
def setup_chain(self):
print("Initializing test directory "+self.options.tmpdir)
@ -58,4 +57,4 @@ class TimestampIndexTest(BitcoinTestFramework):
if __name__ == '__main__':
TimestampIndexTest().main()
TimestampIndexTest().main()

Loading…
Cancel
Save