@@ -0,0 +1,1234 @@
+# -*- coding: utf-8 -*-%0Aimport pdb%0Afrom pprint import pprint%0Aimport re%0Aimport sys, os%0Asys.path.append( os.path.join( os.path.dirname(__file__), '..', 'lib' ) )%0Asys.path.append( os.path.join( os.path.dirname(__file__), '..' ) )%0Aimport config%0Afrom models import Superblock, Proposal, GovernanceObject, Setting, Signal, Vote, Outcome, Watchdog%0Afrom models import VoteSignals, VoteOutcomes%0Afrom peewee import PeeweeException #, OperationalError, IntegrityError%0Afrom dashd import DashDaemon%0Aimport dashlib%0Afrom decimal import Decimal%0Adashd = DashDaemon.from_dash_conf(config.dash_conf)%0A# ==============================================================================%0A# do shit here%0A%0A#pr = Proposal(%0A#    name='proposal7',%0A#    url='https://dashcentral.com/proposal7',%0A#    payment_address='yTC62huR4YQEPn9AJHjnQxxreHSbgAoatV',%0A#    payment_amount=39.23,%0A#    start_epoch=1483250400,%0A#    end_epoch=1491022800,%0A#)%0A%0A#sb = Superblock(%0A#    event_block_height = 62500,%0A#    payment_addresses = %22yYe8KwyaUu5YswSYmB3q3ryx8XTUu9y7Ui%7CyTC62huR4YQEPn9AJHjnQxxreHSbgAoatV%22,%0A#    payment_amounts  = %225%7C3%22%0A#)%0A%0Apdb.set_trace()%0A#dashd.get_object_list()%0A%0A# ==============================================================================%0A#pdb.set_trace()%0A1%0A

add test/util script