aboutsummaryrefslogtreecommitdiff
path: root/tests/dbTestFiller.py
diff options
context:
space:
mode:
authorNavan Chauhan <navanchauhan@gmail.com>2020-07-07 12:02:20 +0530
committerNavan Chauhan <navanchauhan@gmail.com>2020-07-07 12:02:20 +0530
commitc74428d94a79087ca5aed2a23e1535864c924124 (patch)
treeaf0b1e60a18ec40acd25b6b48d786386cf1cddad /tests/dbTestFiller.py
parent12dbe58a5098f254c63bb4b2603ed5cb0a0fff81 (diff)
unused imports and removed commented code
Diffstat (limited to 'tests/dbTestFiller.py')
-rw-r--r--tests/dbTestFiller.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/tests/dbTestFiller.py b/tests/dbTestFiller.py
index 2046b04..fa720ad 100644
--- a/tests/dbTestFiller.py
+++ b/tests/dbTestFiller.py
@@ -16,11 +16,6 @@ try:
except con.ProgrammingError:
print("Table Already Exists!")
-#try:
-# mycursor.execute("insert into curieweb values (1,'navanchauhan@gmail.com','lu.pdbqt','test.pdbqt','owo.txt',CURDATE(),'CURIE WEB TASK',0)")
-#except con.IntegrityError:
-# print("Duplicate Entry For Primary Key!")
-
from random import choice, shuffle
from string import digits, ascii_lowercase
@@ -36,8 +31,6 @@ def convertToBinaryData(filename):
binaryData = file.read()
return binaryData
-from os.path import basename
-
ligand = convertToBinaryData("./files/Eucalyptol.pdbqt")
receptor = convertToBinaryData("./files/6LU7.pdbqt")
config = convertToBinaryData("./files/6LU7.txt")