Updated test cases
continuous-integration/drone/push Build is passing

This commit is contained in:
jblu committed 2023-10-04 15:03:11 -05:00
1 parent 24f6e7b563
commit c3865d5fbb
2 files changed
+6 -8

No files matched your search

+2 -4
View File
@@ -29,13 +29,11 @@ class TestWriteCSV(unittest.TestCase):
ratio = 1.05
tags = 'ipt'
added = 1
age = 240000
time = 123456
thash = 'asfasdf23412adfqwer'
tname = 'thisismynamehahahah'
trname = 'https://localhost.stackoverflow.tech/317332f1c125bc9c1b9b14fb8e054908/announce'
header = ['state','ratio','tags','added','age','time','thash','tname','trname']
row = [state,ratio,tags,added,age,time,thash,tname,trname]
header = ['state','ratio','tags','added','hash','name','tracker']
row = [state,ratio,tags,added,thash,tname,trname]
write_csv(self.cv,outfile,header,row)
self.assertTrue(os.path.exists(outfile))