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"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!DOCTYPE QtCreatorProject>
|
<!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>
|
<qtcreator>
|
||||||
<data>
|
<data>
|
||||||
<variable>EnvironmentId</variable>
|
<variable>EnvironmentId</variable>
|
||||||
|
|||||||
@@ -1,4 +1,6 @@
|
|||||||
|
|
||||||
|
# CG test pandas
|
||||||
|
|
||||||
import pandas as pd
|
import pandas as pd
|
||||||
from kman import *
|
from kman import *
|
||||||
|
|
||||||
|
|||||||
14
tdict.py
14
tdict.py
@@ -1,11 +1,11 @@
|
|||||||
|
|
||||||
|
#########################################################
|
||||||
#############################################
|
## @file : tdict.py
|
||||||
## PROGRAM: tdict.py
|
## @desc : test dict
|
||||||
## AUTHOR: Chengan 20200526
|
## @create : 2020/05/26
|
||||||
## douboer@gmail.com
|
## @author : Chengan
|
||||||
## test multi-key dict
|
## @email : douboer@gmail.com
|
||||||
#############################################
|
#########################################################
|
||||||
|
|
||||||
import re
|
import re
|
||||||
from collections import defaultdict
|
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 collections import defaultdict
|
||||||
|
|
||||||
from kman import *
|
from kman import *
|
||||||
|
|
||||||
class TestKman(unittest2.TestCase):
|
class TestKman(unittest.TestCase):
|
||||||
# initial
|
# initial
|
||||||
def setUp(self):
|
def setUp(self):
|
||||||
LOG2FILE = 1
|
LOG2FILE = 1
|
||||||
@@ -213,17 +221,17 @@ class TestKman(unittest2.TestCase):
|
|||||||
def test_json2dict(self):
|
def test_json2dict(self):
|
||||||
pass
|
pass
|
||||||
def test_import_clips(self):
|
def test_import_clips(self):
|
||||||
pass
|
pass
|
||||||
"""
|
"""
|
||||||
|
|
||||||
# clean
|
# clean
|
||||||
def tearDown(self):
|
def tearDown(self):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
|
||||||
"""
|
"""
|
||||||
suite = unittest.TestSuite ()
|
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_time'))
|
||||||
suite.addTest(TestKman('test_format_data'))
|
suite.addTest(TestKman('test_format_data'))
|
||||||
|
|||||||
Reference in New Issue
Block a user