kindle manager

This commit is contained in:
gavin
2020-06-10 09:11:34 +08:00
parent fa1e3afb51
commit c903004b8f
5 changed files with 31 additions and 13 deletions

8
header Normal file
View File

@@ -0,0 +1,8 @@
#########################################################
## @file : xxx.py
## @desc : kindle note managerment tool
## @create : 2020/05/26
## @author : Chengan
## @email : douboer@gmail.com
#########################################################

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE QtCreatorProject>
<!-- Written by QtCreator 4.11.2, 2020-06-07T15:50:36. -->
<!-- Written by QtCreator 4.11.2, 2020-06-08T13:33:08. -->
<qtcreator>
<data>
<variable>EnvironmentId</variable>

View File

@@ -1,4 +1,6 @@
# CG test pandas
import pandas as pd
from kman import *

View File

@@ -1,11 +1,11 @@
#############################################
## PROGRAM: tdict.py
## AUTHOR: Chengan 20200526
## douboer@gmail.com
## test multi-key dict
#############################################
#########################################################
## @file : tdict.py
## @desc : test dict
## @create : 2020/05/26
## @author : Chengan
## @email : douboer@gmail.com
#########################################################
import re
from collections import defaultdict

View File

@@ -1,11 +1,19 @@
import unittest2
#########################################################
## @file : test_kman.py
## @desc : unit test for kindle management
## @create : 2020/05/26
## @author : Chengan
## @email : douboer@gmail.com
#########################################################
import unittest
from collections import defaultdict
from kman import *
class TestKman(unittest2.TestCase):
class TestKman(unittest.TestCase):
# initial
def setUp(self):
LOG2FILE = 1
@@ -213,17 +221,17 @@ class TestKman(unittest2.TestCase):
def test_json2dict(self):
pass
def test_import_clips(self):
pass
pass
"""
# clean
def tearDown(self):
pass
if __name__ == '__main__':
"""
suite = unittest.TestSuite ()
suite.addTest(TestKman('test_parse_section'))
suite.addTest(TestKman('test_parse_section'))
suite.addTest(TestKman('test_format_time'))
suite.addTest(TestKman('test_format_data'))