예제 #1
0
파일: price_test.py 프로젝트: yasstake/mmf
    def test_load_tf_records_with_time_from_file(self):
        db = LogDb('/tmp/bitlog.db')
        db.connect()
        db.create_cursor()

        time = 1552957717

        PriceBoardDB.export_db_to_blob_with_time(db, time, width=600, root_dir='/tmp/')
예제 #2
0
파일: price_test.py 프로젝트: yasstake/mmf
    def test_load_tf_records_with_time(self):
        db = LogDb()
        db.connect()
        db.create_cursor()

        db.import_db()

        time = 1552910400
        PriceBoardDB.export_db_to_blob_with_time(db, time, width=600, root_dir='/tmp/')