kindle manager
This commit is contained in:
8
header
Normal file
8
header
Normal file
@@ -0,0 +1,8 @@
|
||||
#########################################################
|
||||
## @file : xxx.py
|
||||
## @desc : kindle note managerment tool
|
||||
## @create : 2020/05/26
|
||||
## @author : Chengan
|
||||
## @email : douboer@gmail.com
|
||||
#########################################################
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
|
||||
# CG test pandas
|
||||
|
||||
import pandas as pd
|
||||
from kman import *
|
||||
|
||||
|
||||
14
tdict.py
14
tdict.py
@@ -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
|
||||
|
||||
18
test_kman.py
18
test_kman.py
@@ -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'))
|
||||
|
||||
Reference in New Issue
Block a user