Add enaddr sqlite function for encoding a bitmessage address #1740

Closed
cis-muzahid wants to merge 1 commits from db_functions into v0.6
4 changed files with 120 additions and 12 deletions
Showing only changes of commit 04bd5a0264 - Show all commits

View File

@ -8,7 +8,6 @@ import sqlite3
import sys import sys
import threading import threading
import time import time
import helper_sql import helper_sql
import helper_startup import helper_startup
import paths import paths
@ -18,6 +17,7 @@ import tr
from bmconfigparser import BMConfigParser from bmconfigparser import BMConfigParser
from debug import logger from debug import logger
# pylint: disable=attribute-defined-outside-init,protected-access # pylint: disable=attribute-defined-outside-init,protected-access
from addresses import encodeAddress
class sqlThread(threading.Thread): class sqlThread(threading.Thread):
@ -35,6 +35,9 @@ class sqlThread(threading.Thread):
self.cur.execute('PRAGMA secure_delete = true') self.cur.execute('PRAGMA secure_delete = true')
# call create_function for encode address
self.create_function()
try: try:
self.cur.execute( self.cur.execute(
'''CREATE TABLE inbox (msgid blob, toaddress text, fromaddress text, subject text,''' '''CREATE TABLE inbox (msgid blob, toaddress text, fromaddress text, subject text,'''
@ -325,6 +328,7 @@ class sqlThread(threading.Thread):
# We'll also need a `sleeptill` field and a `ttl` field. Also we # We'll also need a `sleeptill` field and a `ttl` field. Also we
# can combine the pubkeyretrynumber and msgretrynumber into one. # can combine the pubkeyretrynumber and msgretrynumber into one.
item = '''SELECT value FROM settings WHERE key='version';''' item = '''SELECT value FROM settings WHERE key='version';'''
parameters = '' parameters = ''
self.cur.execute(item, parameters) self.cur.execute(item, parameters)
@ -358,16 +362,11 @@ class sqlThread(threading.Thread):
logger.debug('In messages.dat database, adding address field to the pubkeys table.') logger.debug('In messages.dat database, adding address field to the pubkeys table.')
# We're going to have to calculate the address for each row in the pubkeys # We're going to have to calculate the address for each row in the pubkeys
# table. Then we can take out the hash field. # table. Then we can take out the hash field.
PeterSurda commented 2021-03-15 12:16:32 +01:00 (Migrated from github.com)
Review

direct update, not joined.

direct update, not joined.
self.cur.execute('''ALTER TABLE pubkeys ADD address text DEFAULT '' ''') self.cur.execute('''ALTER TABLE pubkeys ADD address text DEFAULT '' ;''')
self.cur.execute('''SELECT hash, addressversion FROM pubkeys''')
queryResult = self.cur.fetchall() # replica for loop to update hashed address
from addresses import encodeAddress self.cur.execute('''UPDATE pubkeys SET address=(enaddr(pubkeys.addressversion, 1, hash)) WHERE hash=pubkeys.hash; ''')
for row in queryResult:
addressHash, addressVersion = row
address = encodeAddress(addressVersion, 1, hash)
item = '''UPDATE pubkeys SET address=? WHERE hash=?;'''
parameters = (address, addressHash)
self.cur.execute(item, parameters)
# Now we can remove the hash field from the pubkeys table. # Now we can remove the hash field from the pubkeys table.
self.cur.execute( self.cur.execute(
'''CREATE TEMPORARY TABLE pubkeys_backup''' '''CREATE TEMPORARY TABLE pubkeys_backup'''
@ -622,3 +621,12 @@ class sqlThread(threading.Thread):
helper_sql.sqlReturnQueue.put((self.cur.fetchall(), rowcount)) helper_sql.sqlReturnQueue.put((self.cur.fetchall(), rowcount))
# helper_sql.sqlSubmitQueue.task_done() # helper_sql.sqlSubmitQueue.task_done()
def create_function(self):
# create_function
try:
self.conn.create_function("enaddr", 3, func=encodeAddress, deterministic=True)
except (TypeError, sqlite3.NotSupportedError) as err:
logger.debug(
"Got error while pass deterministic in sqlite create function {}, Passing 3 params".format(err))
self.conn.create_function("enaddr", 3, encodeAddress)

View File

@ -16,9 +16,16 @@ SQLite objects can only be used from one thread.
or isn't thread-safe. or isn't thread-safe.
""" """
import Queue
# import Queue
try:
import queue as Queue #python3
except ImportError:
import Queue #python2
import threading import threading
sqlSubmitQueue = Queue.Queue() sqlSubmitQueue = Queue.Queue()
"""the queue for SQL""" """the queue for SQL"""
sqlReturnQueue = Queue.Queue() sqlReturnQueue = Queue.Queue()
@ -105,6 +112,15 @@ def sqlExecute(sql_statement, *args):
return rowcount return rowcount
def sqlExecuteScript(sql_statement):
"""Execute SQL script statement"""
statements = sql_statement.split(";")
with SqlBulkExecute() as sql:
for q in statements:
sql.execute("{}".format(q))
def sqlStoredProcedure(procName): def sqlStoredProcedure(procName):
"""Schedule procName to be run""" """Schedule procName to be run"""
assert sql_available assert sql_available

View File

@ -0,0 +1,11 @@
PeterSurda commented 2021-03-11 15:44:28 +01:00 (Migrated from github.com)
Review

addressversion should be 4

addressversion should be 4
PeterSurda commented 2021-03-11 15:44:28 +01:00 (Migrated from github.com)
Review

addressversion should be 4

addressversion should be 4
CREATE TABLE `testhash` (
PeterSurda commented 2021-03-11 15:44:28 +01:00 (Migrated from github.com)
Review

addressversion should be 4

addressversion should be 4
`addressversion` int DEFAULT NULL,
PeterSurda commented 2021-03-11 15:44:28 +01:00 (Migrated from github.com)
Review

addressversion should be 4

addressversion should be 4
`hash` blob DEFAULT NULL,
PeterSurda commented 2021-03-11 15:44:28 +01:00 (Migrated from github.com)
Review

addressversion should be 4

addressversion should be 4
`address` text DEFAULT NULL,
PeterSurda commented 2021-03-11 15:44:28 +01:00 (Migrated from github.com)
Review

addressversion should be 4

addressversion should be 4
UNIQUE(address) ON CONFLICT IGNORE
PeterSurda commented 2021-03-11 15:44:28 +01:00 (Migrated from github.com)
Review

addressversion should be 4

addressversion should be 4
);
PeterSurda commented 2021-03-11 15:44:28 +01:00 (Migrated from github.com)
Review

addressversion should be 4

addressversion should be 4
PeterSurda commented 2021-03-11 15:44:28 +01:00 (Migrated from github.com)
Review

addressversion should be 4

addressversion should be 4
PeterSurda commented 2021-03-11 15:44:28 +01:00 (Migrated from github.com)
Review

addressversion should be 4

addressversion should be 4
PeterSurda commented 2021-03-11 15:44:28 +01:00 (Migrated from github.com)
Review

addressversion should be 4

addressversion should be 4
INSERT INTO testhash (addressversion, hash) VALUES(4, "21122112211221122112");
PeterSurda commented 2021-03-11 15:44:28 +01:00 (Migrated from github.com)
Review

addressversion should be 4

addressversion should be 4
PeterSurda commented 2021-03-11 15:44:28 +01:00 (Migrated from github.com)
Review

addressversion should be 4

addressversion should be 4

View File

@ -0,0 +1,73 @@
PeterSurda commented 2021-03-06 17:06:27 +01:00 (Migrated from github.com)
Review

bad docstring

bad docstring
PeterSurda commented 2021-03-06 17:06:27 +01:00 (Migrated from github.com)
Review

bad docstring

bad docstring
PeterSurda commented 2021-03-10 09:27:32 +01:00 (Migrated from github.com)
Review

als import sql_ready

als import `sql_ready`
PeterSurda commented 2021-03-10 09:27:32 +01:00 (Migrated from github.com)
Review

als import sql_ready

als import `sql_ready`
PeterSurda commented 2021-03-10 14:23:24 +01:00 (Migrated from github.com)
Review

test content validity, not just if an entry exists.

test content validity, not just if an entry exists.
PeterSurda commented 2021-03-10 14:23:24 +01:00 (Migrated from github.com)
Review

test content validity, not just if an entry exists.

test content validity, not just if an entry exists.
PeterSurda commented 2021-03-10 14:24:16 +01:00 (Migrated from github.com)
Review

here also the two exceptions like in class_sqlThread

here also the two exceptions like in `class_sqlThread`
PeterSurda commented 2021-03-10 14:24:16 +01:00 (Migrated from github.com)
Review

here also the two exceptions like in class_sqlThread

here also the two exceptions like in `class_sqlThread`
PeterSurda commented 2021-03-10 14:25:37 +01:00 (Migrated from github.com)
Review

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite
PeterSurda commented 2021-03-10 14:25:37 +01:00 (Migrated from github.com)
Review

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite
PeterSurda commented 2021-03-11 15:43:07 +01:00 (Migrated from github.com)
Review

I don't think this is necessary as it's created by the sql thread already.

I don't think this is necessary as it's created by the sql thread already.
PeterSurda commented 2021-03-11 15:43:07 +01:00 (Migrated from github.com)
Review

I don't think this is necessary as it's created by the sql thread already.

I don't think this is necessary as it's created by the sql thread already.
PeterSurda commented 2021-03-11 15:44:08 +01:00 (Migrated from github.com)
Review

these should be class variables or constants defined elsewhere.

Also version should be 4.

these should be class variables or constants defined elsewhere. Also version should be 4.
PeterSurda commented 2021-03-11 15:44:08 +01:00 (Migrated from github.com)
Review

these should be class variables or constants defined elsewhere.

Also version should be 4.

these should be class variables or constants defined elsewhere. Also version should be 4.
PeterSurda commented 2021-03-14 18:10:05 +01:00 (Migrated from github.com)
Review

sqlExecute('''DROP TABLE testhash''')

`sqlExecute('''DROP TABLE testhash''')`
PeterSurda commented 2021-03-14 18:10:05 +01:00 (Migrated from github.com)
Review

sqlExecute('''DROP TABLE testhash''')

`sqlExecute('''DROP TABLE testhash''')`
PeterSurda commented 2021-03-14 18:10:19 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:19 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:36 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:36 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:44 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:44 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:11:00 +01:00 (Migrated from github.com)
Review

Remove lines 20-22.

Remove lines 20-22.
PeterSurda commented 2021-03-14 18:11:00 +01:00 (Migrated from github.com)
Review

Remove lines 20-22.

Remove lines 20-22.
PeterSurda commented 2021-03-14 18:18:08 +01:00 (Migrated from github.com)
Review

I'm not sure this (line 81) actually tests anything. Remove.

I'm not sure this (line 81) actually tests anything. Remove.
PeterSurda commented 2021-03-14 18:18:08 +01:00 (Migrated from github.com)
Review

I'm not sure this (line 81) actually tests anything. Remove.

I'm not sure this (line 81) actually tests anything. Remove.
PeterSurda commented 2021-03-15 12:17:46 +01:00 (Migrated from github.com)
Review

direct update, not join

direct update, not join
PeterSurda commented 2021-03-15 12:17:46 +01:00 (Migrated from github.com)
Review

direct update, not join

direct update, not join
"""
PeterSurda commented 2021-03-06 17:06:27 +01:00 (Migrated from github.com)
Review

bad docstring

bad docstring
PeterSurda commented 2021-03-10 09:27:32 +01:00 (Migrated from github.com)
Review

als import sql_ready

als import `sql_ready`
PeterSurda commented 2021-03-10 14:23:24 +01:00 (Migrated from github.com)
Review

test content validity, not just if an entry exists.

test content validity, not just if an entry exists.
PeterSurda commented 2021-03-10 14:24:16 +01:00 (Migrated from github.com)
Review

here also the two exceptions like in class_sqlThread

here also the two exceptions like in `class_sqlThread`
PeterSurda commented 2021-03-10 14:25:37 +01:00 (Migrated from github.com)
Review

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite
PeterSurda commented 2021-03-11 15:43:07 +01:00 (Migrated from github.com)
Review

I don't think this is necessary as it's created by the sql thread already.

I don't think this is necessary as it's created by the sql thread already.
PeterSurda commented 2021-03-11 15:44:08 +01:00 (Migrated from github.com)
Review

these should be class variables or constants defined elsewhere.

Also version should be 4.

these should be class variables or constants defined elsewhere. Also version should be 4.
PeterSurda commented 2021-03-14 18:10:05 +01:00 (Migrated from github.com)
Review

sqlExecute('''DROP TABLE testhash''')

`sqlExecute('''DROP TABLE testhash''')`
PeterSurda commented 2021-03-14 18:10:19 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:36 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:44 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:11:00 +01:00 (Migrated from github.com)
Review

Remove lines 20-22.

Remove lines 20-22.
PeterSurda commented 2021-03-14 18:18:08 +01:00 (Migrated from github.com)
Review

I'm not sure this (line 81) actually tests anything. Remove.

I'm not sure this (line 81) actually tests anything. Remove.
PeterSurda commented 2021-03-15 12:17:46 +01:00 (Migrated from github.com)
Review

direct update, not join

direct update, not join
Test for sqlThread
PeterSurda commented 2021-03-06 17:06:27 +01:00 (Migrated from github.com)
Review

bad docstring

bad docstring
PeterSurda commented 2021-03-10 09:27:32 +01:00 (Migrated from github.com)
Review

als import sql_ready

als import `sql_ready`
PeterSurda commented 2021-03-10 14:23:24 +01:00 (Migrated from github.com)
Review

test content validity, not just if an entry exists.

test content validity, not just if an entry exists.
PeterSurda commented 2021-03-10 14:24:16 +01:00 (Migrated from github.com)
Review

here also the two exceptions like in class_sqlThread

here also the two exceptions like in `class_sqlThread`
PeterSurda commented 2021-03-10 14:25:37 +01:00 (Migrated from github.com)
Review

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite
PeterSurda commented 2021-03-11 15:43:07 +01:00 (Migrated from github.com)
Review

I don't think this is necessary as it's created by the sql thread already.

I don't think this is necessary as it's created by the sql thread already.
PeterSurda commented 2021-03-11 15:44:08 +01:00 (Migrated from github.com)
Review

these should be class variables or constants defined elsewhere.

Also version should be 4.

these should be class variables or constants defined elsewhere. Also version should be 4.
PeterSurda commented 2021-03-14 18:10:05 +01:00 (Migrated from github.com)
Review

sqlExecute('''DROP TABLE testhash''')

`sqlExecute('''DROP TABLE testhash''')`
PeterSurda commented 2021-03-14 18:10:19 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:36 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:44 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:11:00 +01:00 (Migrated from github.com)
Review

Remove lines 20-22.

Remove lines 20-22.
PeterSurda commented 2021-03-14 18:18:08 +01:00 (Migrated from github.com)
Review

I'm not sure this (line 81) actually tests anything. Remove.

I'm not sure this (line 81) actually tests anything. Remove.
PeterSurda commented 2021-03-15 12:17:46 +01:00 (Migrated from github.com)
Review

direct update, not join

direct update, not join
"""
PeterSurda commented 2021-03-06 17:06:27 +01:00 (Migrated from github.com)
Review

bad docstring

bad docstring
PeterSurda commented 2021-03-10 09:27:32 +01:00 (Migrated from github.com)
Review

als import sql_ready

als import `sql_ready`
PeterSurda commented 2021-03-10 14:23:24 +01:00 (Migrated from github.com)
Review

test content validity, not just if an entry exists.

test content validity, not just if an entry exists.
PeterSurda commented 2021-03-10 14:24:16 +01:00 (Migrated from github.com)
Review

here also the two exceptions like in class_sqlThread

here also the two exceptions like in `class_sqlThread`
PeterSurda commented 2021-03-10 14:25:37 +01:00 (Migrated from github.com)
Review

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite
PeterSurda commented 2021-03-11 15:43:07 +01:00 (Migrated from github.com)
Review

I don't think this is necessary as it's created by the sql thread already.

I don't think this is necessary as it's created by the sql thread already.
PeterSurda commented 2021-03-11 15:44:08 +01:00 (Migrated from github.com)
Review

these should be class variables or constants defined elsewhere.

Also version should be 4.

these should be class variables or constants defined elsewhere. Also version should be 4.
PeterSurda commented 2021-03-14 18:10:05 +01:00 (Migrated from github.com)
Review

sqlExecute('''DROP TABLE testhash''')

`sqlExecute('''DROP TABLE testhash''')`
PeterSurda commented 2021-03-14 18:10:19 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:36 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:44 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:11:00 +01:00 (Migrated from github.com)
Review

Remove lines 20-22.

Remove lines 20-22.
PeterSurda commented 2021-03-14 18:18:08 +01:00 (Migrated from github.com)
Review

I'm not sure this (line 81) actually tests anything. Remove.

I'm not sure this (line 81) actually tests anything. Remove.
PeterSurda commented 2021-03-15 12:17:46 +01:00 (Migrated from github.com)
Review

direct update, not join

direct update, not join
PeterSurda commented 2021-03-06 17:06:27 +01:00 (Migrated from github.com)
Review

bad docstring

bad docstring
PeterSurda commented 2021-03-10 09:27:32 +01:00 (Migrated from github.com)
Review

als import sql_ready

als import `sql_ready`
PeterSurda commented 2021-03-10 14:23:24 +01:00 (Migrated from github.com)
Review

test content validity, not just if an entry exists.

test content validity, not just if an entry exists.
PeterSurda commented 2021-03-10 14:24:16 +01:00 (Migrated from github.com)
Review

here also the two exceptions like in class_sqlThread

here also the two exceptions like in `class_sqlThread`
PeterSurda commented 2021-03-10 14:25:37 +01:00 (Migrated from github.com)
Review

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite
PeterSurda commented 2021-03-11 15:43:07 +01:00 (Migrated from github.com)
Review

I don't think this is necessary as it's created by the sql thread already.

I don't think this is necessary as it's created by the sql thread already.
PeterSurda commented 2021-03-11 15:44:08 +01:00 (Migrated from github.com)
Review

these should be class variables or constants defined elsewhere.

Also version should be 4.

these should be class variables or constants defined elsewhere. Also version should be 4.
PeterSurda commented 2021-03-14 18:10:05 +01:00 (Migrated from github.com)
Review

sqlExecute('''DROP TABLE testhash''')

`sqlExecute('''DROP TABLE testhash''')`
PeterSurda commented 2021-03-14 18:10:19 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:36 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:44 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:11:00 +01:00 (Migrated from github.com)
Review

Remove lines 20-22.

Remove lines 20-22.
PeterSurda commented 2021-03-14 18:18:08 +01:00 (Migrated from github.com)
Review

I'm not sure this (line 81) actually tests anything. Remove.

I'm not sure this (line 81) actually tests anything. Remove.
PeterSurda commented 2021-03-15 12:17:46 +01:00 (Migrated from github.com)
Review

direct update, not join

direct update, not join
import os
PeterSurda commented 2021-03-06 17:06:27 +01:00 (Migrated from github.com)
Review

bad docstring

bad docstring
PeterSurda commented 2021-03-10 09:27:32 +01:00 (Migrated from github.com)
Review

als import sql_ready

als import `sql_ready`
PeterSurda commented 2021-03-10 14:23:24 +01:00 (Migrated from github.com)
Review

test content validity, not just if an entry exists.

test content validity, not just if an entry exists.
PeterSurda commented 2021-03-10 14:24:16 +01:00 (Migrated from github.com)
Review

here also the two exceptions like in class_sqlThread

here also the two exceptions like in `class_sqlThread`
PeterSurda commented 2021-03-10 14:25:37 +01:00 (Migrated from github.com)
Review

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite
PeterSurda commented 2021-03-11 15:43:07 +01:00 (Migrated from github.com)
Review

I don't think this is necessary as it's created by the sql thread already.

I don't think this is necessary as it's created by the sql thread already.
PeterSurda commented 2021-03-11 15:44:08 +01:00 (Migrated from github.com)
Review

these should be class variables or constants defined elsewhere.

Also version should be 4.

these should be class variables or constants defined elsewhere. Also version should be 4.
PeterSurda commented 2021-03-14 18:10:05 +01:00 (Migrated from github.com)
Review

sqlExecute('''DROP TABLE testhash''')

`sqlExecute('''DROP TABLE testhash''')`
PeterSurda commented 2021-03-14 18:10:19 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:36 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:44 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:11:00 +01:00 (Migrated from github.com)
Review

Remove lines 20-22.

Remove lines 20-22.
PeterSurda commented 2021-03-14 18:18:08 +01:00 (Migrated from github.com)
Review

I'm not sure this (line 81) actually tests anything. Remove.

I'm not sure this (line 81) actually tests anything. Remove.
PeterSurda commented 2021-03-15 12:17:46 +01:00 (Migrated from github.com)
Review

direct update, not join

direct update, not join
import unittest
PeterSurda commented 2021-03-06 17:06:27 +01:00 (Migrated from github.com)
Review

bad docstring

bad docstring
PeterSurda commented 2021-03-10 09:27:32 +01:00 (Migrated from github.com)
Review

als import sql_ready

als import `sql_ready`
PeterSurda commented 2021-03-10 14:23:24 +01:00 (Migrated from github.com)
Review

test content validity, not just if an entry exists.

test content validity, not just if an entry exists.
PeterSurda commented 2021-03-10 14:24:16 +01:00 (Migrated from github.com)
Review

here also the two exceptions like in class_sqlThread

here also the two exceptions like in `class_sqlThread`
PeterSurda commented 2021-03-10 14:25:37 +01:00 (Migrated from github.com)
Review

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite
PeterSurda commented 2021-03-11 15:43:07 +01:00 (Migrated from github.com)
Review

I don't think this is necessary as it's created by the sql thread already.

I don't think this is necessary as it's created by the sql thread already.
PeterSurda commented 2021-03-11 15:44:08 +01:00 (Migrated from github.com)
Review

these should be class variables or constants defined elsewhere.

Also version should be 4.

these should be class variables or constants defined elsewhere. Also version should be 4.
PeterSurda commented 2021-03-14 18:10:05 +01:00 (Migrated from github.com)
Review

sqlExecute('''DROP TABLE testhash''')

`sqlExecute('''DROP TABLE testhash''')`
PeterSurda commented 2021-03-14 18:10:19 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:36 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:44 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:11:00 +01:00 (Migrated from github.com)
Review

Remove lines 20-22.

Remove lines 20-22.
PeterSurda commented 2021-03-14 18:18:08 +01:00 (Migrated from github.com)
Review

I'm not sure this (line 81) actually tests anything. Remove.

I'm not sure this (line 81) actually tests anything. Remove.
PeterSurda commented 2021-03-15 12:17:46 +01:00 (Migrated from github.com)
Review

direct update, not join

direct update, not join
from ..helper_sql import sqlStoredProcedure, sql_ready, sqlExecute, SqlBulkExecute, sqlQuery, sqlExecuteScript
PeterSurda commented 2021-03-06 17:06:27 +01:00 (Migrated from github.com)
Review

bad docstring

bad docstring
PeterSurda commented 2021-03-10 09:27:32 +01:00 (Migrated from github.com)
Review

als import sql_ready

als import `sql_ready`
PeterSurda commented 2021-03-10 14:23:24 +01:00 (Migrated from github.com)
Review

test content validity, not just if an entry exists.

test content validity, not just if an entry exists.
PeterSurda commented 2021-03-10 14:24:16 +01:00 (Migrated from github.com)
Review

here also the two exceptions like in class_sqlThread

here also the two exceptions like in `class_sqlThread`
PeterSurda commented 2021-03-10 14:25:37 +01:00 (Migrated from github.com)
Review

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite
PeterSurda commented 2021-03-11 15:43:07 +01:00 (Migrated from github.com)
Review

I don't think this is necessary as it's created by the sql thread already.

I don't think this is necessary as it's created by the sql thread already.
PeterSurda commented 2021-03-11 15:44:08 +01:00 (Migrated from github.com)
Review

these should be class variables or constants defined elsewhere.

Also version should be 4.

these should be class variables or constants defined elsewhere. Also version should be 4.
PeterSurda commented 2021-03-14 18:10:05 +01:00 (Migrated from github.com)
Review

sqlExecute('''DROP TABLE testhash''')

`sqlExecute('''DROP TABLE testhash''')`
PeterSurda commented 2021-03-14 18:10:19 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:36 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:44 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:11:00 +01:00 (Migrated from github.com)
Review

Remove lines 20-22.

Remove lines 20-22.
PeterSurda commented 2021-03-14 18:18:08 +01:00 (Migrated from github.com)
Review

I'm not sure this (line 81) actually tests anything. Remove.

I'm not sure this (line 81) actually tests anything. Remove.
PeterSurda commented 2021-03-15 12:17:46 +01:00 (Migrated from github.com)
Review

direct update, not join

direct update, not join
from ..class_sqlThread import (sqlThread)
PeterSurda commented 2021-03-06 17:06:27 +01:00 (Migrated from github.com)
Review

bad docstring

bad docstring
PeterSurda commented 2021-03-10 09:27:32 +01:00 (Migrated from github.com)
Review

als import sql_ready

als import `sql_ready`
PeterSurda commented 2021-03-10 14:23:24 +01:00 (Migrated from github.com)
Review

test content validity, not just if an entry exists.

test content validity, not just if an entry exists.
PeterSurda commented 2021-03-10 14:24:16 +01:00 (Migrated from github.com)
Review

here also the two exceptions like in class_sqlThread

here also the two exceptions like in `class_sqlThread`
PeterSurda commented 2021-03-10 14:25:37 +01:00 (Migrated from github.com)
Review

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite
PeterSurda commented 2021-03-11 15:43:07 +01:00 (Migrated from github.com)
Review

I don't think this is necessary as it's created by the sql thread already.

I don't think this is necessary as it's created by the sql thread already.
PeterSurda commented 2021-03-11 15:44:08 +01:00 (Migrated from github.com)
Review

these should be class variables or constants defined elsewhere.

Also version should be 4.

these should be class variables or constants defined elsewhere. Also version should be 4.
PeterSurda commented 2021-03-14 18:10:05 +01:00 (Migrated from github.com)
Review

sqlExecute('''DROP TABLE testhash''')

`sqlExecute('''DROP TABLE testhash''')`
PeterSurda commented 2021-03-14 18:10:19 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:36 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:44 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:11:00 +01:00 (Migrated from github.com)
Review

Remove lines 20-22.

Remove lines 20-22.
PeterSurda commented 2021-03-14 18:18:08 +01:00 (Migrated from github.com)
Review

I'm not sure this (line 81) actually tests anything. Remove.

I'm not sure this (line 81) actually tests anything. Remove.
PeterSurda commented 2021-03-15 12:17:46 +01:00 (Migrated from github.com)
Review

direct update, not join

direct update, not join
from ..addresses import encodeAddress
PeterSurda commented 2021-03-06 17:06:27 +01:00 (Migrated from github.com)
Review

bad docstring

bad docstring
PeterSurda commented 2021-03-10 09:27:32 +01:00 (Migrated from github.com)
Review

als import sql_ready

als import `sql_ready`
PeterSurda commented 2021-03-10 14:23:24 +01:00 (Migrated from github.com)
Review

test content validity, not just if an entry exists.

test content validity, not just if an entry exists.
PeterSurda commented 2021-03-10 14:24:16 +01:00 (Migrated from github.com)
Review

here also the two exceptions like in class_sqlThread

here also the two exceptions like in `class_sqlThread`
PeterSurda commented 2021-03-10 14:25:37 +01:00 (Migrated from github.com)
Review

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite
PeterSurda commented 2021-03-11 15:43:07 +01:00 (Migrated from github.com)
Review

I don't think this is necessary as it's created by the sql thread already.

I don't think this is necessary as it's created by the sql thread already.
PeterSurda commented 2021-03-11 15:44:08 +01:00 (Migrated from github.com)
Review

these should be class variables or constants defined elsewhere.

Also version should be 4.

these should be class variables or constants defined elsewhere. Also version should be 4.
PeterSurda commented 2021-03-14 18:10:05 +01:00 (Migrated from github.com)
Review

sqlExecute('''DROP TABLE testhash''')

`sqlExecute('''DROP TABLE testhash''')`
PeterSurda commented 2021-03-14 18:10:19 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:36 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:44 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:11:00 +01:00 (Migrated from github.com)
Review

Remove lines 20-22.

Remove lines 20-22.
PeterSurda commented 2021-03-14 18:18:08 +01:00 (Migrated from github.com)
Review

I'm not sure this (line 81) actually tests anything. Remove.

I'm not sure this (line 81) actually tests anything. Remove.
PeterSurda commented 2021-03-15 12:17:46 +01:00 (Migrated from github.com)
Review

direct update, not join

direct update, not join
from .common import skip_python3
PeterSurda commented 2021-03-06 17:06:27 +01:00 (Migrated from github.com)
Review

bad docstring

bad docstring
PeterSurda commented 2021-03-10 09:27:32 +01:00 (Migrated from github.com)
Review

als import sql_ready

als import `sql_ready`
PeterSurda commented 2021-03-10 14:23:24 +01:00 (Migrated from github.com)
Review

test content validity, not just if an entry exists.

test content validity, not just if an entry exists.
PeterSurda commented 2021-03-10 14:24:16 +01:00 (Migrated from github.com)
Review

here also the two exceptions like in class_sqlThread

here also the two exceptions like in `class_sqlThread`
PeterSurda commented 2021-03-10 14:25:37 +01:00 (Migrated from github.com)
Review

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite
PeterSurda commented 2021-03-11 15:43:07 +01:00 (Migrated from github.com)
Review

I don't think this is necessary as it's created by the sql thread already.

I don't think this is necessary as it's created by the sql thread already.
PeterSurda commented 2021-03-11 15:44:08 +01:00 (Migrated from github.com)
Review

these should be class variables or constants defined elsewhere.

Also version should be 4.

these should be class variables or constants defined elsewhere. Also version should be 4.
PeterSurda commented 2021-03-14 18:10:05 +01:00 (Migrated from github.com)
Review

sqlExecute('''DROP TABLE testhash''')

`sqlExecute('''DROP TABLE testhash''')`
PeterSurda commented 2021-03-14 18:10:19 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:36 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:44 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:11:00 +01:00 (Migrated from github.com)
Review

Remove lines 20-22.

Remove lines 20-22.
PeterSurda commented 2021-03-14 18:18:08 +01:00 (Migrated from github.com)
Review

I'm not sure this (line 81) actually tests anything. Remove.

I'm not sure this (line 81) actually tests anything. Remove.
PeterSurda commented 2021-03-15 12:17:46 +01:00 (Migrated from github.com)
Review

direct update, not join

direct update, not join
PeterSurda commented 2021-03-06 17:06:27 +01:00 (Migrated from github.com)
Review

bad docstring

bad docstring
PeterSurda commented 2021-03-10 09:27:32 +01:00 (Migrated from github.com)
Review

als import sql_ready

als import `sql_ready`
PeterSurda commented 2021-03-10 14:23:24 +01:00 (Migrated from github.com)
Review

test content validity, not just if an entry exists.

test content validity, not just if an entry exists.
PeterSurda commented 2021-03-10 14:24:16 +01:00 (Migrated from github.com)
Review

here also the two exceptions like in class_sqlThread

here also the two exceptions like in `class_sqlThread`
PeterSurda commented 2021-03-10 14:25:37 +01:00 (Migrated from github.com)
Review

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite
PeterSurda commented 2021-03-11 15:43:07 +01:00 (Migrated from github.com)
Review

I don't think this is necessary as it's created by the sql thread already.

I don't think this is necessary as it's created by the sql thread already.
PeterSurda commented 2021-03-11 15:44:08 +01:00 (Migrated from github.com)
Review

these should be class variables or constants defined elsewhere.

Also version should be 4.

these should be class variables or constants defined elsewhere. Also version should be 4.
PeterSurda commented 2021-03-14 18:10:05 +01:00 (Migrated from github.com)
Review

sqlExecute('''DROP TABLE testhash''')

`sqlExecute('''DROP TABLE testhash''')`
PeterSurda commented 2021-03-14 18:10:19 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:36 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:44 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:11:00 +01:00 (Migrated from github.com)
Review

Remove lines 20-22.

Remove lines 20-22.
PeterSurda commented 2021-03-14 18:18:08 +01:00 (Migrated from github.com)
Review

I'm not sure this (line 81) actually tests anything. Remove.

I'm not sure this (line 81) actually tests anything. Remove.
PeterSurda commented 2021-03-15 12:17:46 +01:00 (Migrated from github.com)
Review

direct update, not join

direct update, not join
PeterSurda commented 2021-03-06 17:06:27 +01:00 (Migrated from github.com)
Review

bad docstring

bad docstring
PeterSurda commented 2021-03-10 09:27:32 +01:00 (Migrated from github.com)
Review

als import sql_ready

als import `sql_ready`
PeterSurda commented 2021-03-10 14:23:24 +01:00 (Migrated from github.com)
Review

test content validity, not just if an entry exists.

test content validity, not just if an entry exists.
PeterSurda commented 2021-03-10 14:24:16 +01:00 (Migrated from github.com)
Review

here also the two exceptions like in class_sqlThread

here also the two exceptions like in `class_sqlThread`
PeterSurda commented 2021-03-10 14:25:37 +01:00 (Migrated from github.com)
Review

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite
PeterSurda commented 2021-03-11 15:43:07 +01:00 (Migrated from github.com)
Review

I don't think this is necessary as it's created by the sql thread already.

I don't think this is necessary as it's created by the sql thread already.
PeterSurda commented 2021-03-11 15:44:08 +01:00 (Migrated from github.com)
Review

these should be class variables or constants defined elsewhere.

Also version should be 4.

these should be class variables or constants defined elsewhere. Also version should be 4.
PeterSurda commented 2021-03-14 18:10:05 +01:00 (Migrated from github.com)
Review

sqlExecute('''DROP TABLE testhash''')

`sqlExecute('''DROP TABLE testhash''')`
PeterSurda commented 2021-03-14 18:10:19 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:36 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:44 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:11:00 +01:00 (Migrated from github.com)
Review

Remove lines 20-22.

Remove lines 20-22.
PeterSurda commented 2021-03-14 18:18:08 +01:00 (Migrated from github.com)
Review

I'm not sure this (line 81) actually tests anything. Remove.

I'm not sure this (line 81) actually tests anything. Remove.
PeterSurda commented 2021-03-15 12:17:46 +01:00 (Migrated from github.com)
Review

direct update, not join

direct update, not join
skip_python3()
PeterSurda commented 2021-03-06 17:06:27 +01:00 (Migrated from github.com)
Review

bad docstring

bad docstring
PeterSurda commented 2021-03-10 09:27:32 +01:00 (Migrated from github.com)
Review

als import sql_ready

als import `sql_ready`
PeterSurda commented 2021-03-10 14:23:24 +01:00 (Migrated from github.com)
Review

test content validity, not just if an entry exists.

test content validity, not just if an entry exists.
PeterSurda commented 2021-03-10 14:24:16 +01:00 (Migrated from github.com)
Review

here also the two exceptions like in class_sqlThread

here also the two exceptions like in `class_sqlThread`
PeterSurda commented 2021-03-10 14:25:37 +01:00 (Migrated from github.com)
Review

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite
PeterSurda commented 2021-03-11 15:43:07 +01:00 (Migrated from github.com)
Review

I don't think this is necessary as it's created by the sql thread already.

I don't think this is necessary as it's created by the sql thread already.
PeterSurda commented 2021-03-11 15:44:08 +01:00 (Migrated from github.com)
Review

these should be class variables or constants defined elsewhere.

Also version should be 4.

these should be class variables or constants defined elsewhere. Also version should be 4.
PeterSurda commented 2021-03-14 18:10:05 +01:00 (Migrated from github.com)
Review

sqlExecute('''DROP TABLE testhash''')

`sqlExecute('''DROP TABLE testhash''')`
PeterSurda commented 2021-03-14 18:10:19 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:36 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:44 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:11:00 +01:00 (Migrated from github.com)
Review

Remove lines 20-22.

Remove lines 20-22.
PeterSurda commented 2021-03-14 18:18:08 +01:00 (Migrated from github.com)
Review

I'm not sure this (line 81) actually tests anything. Remove.

I'm not sure this (line 81) actually tests anything. Remove.
PeterSurda commented 2021-03-15 12:17:46 +01:00 (Migrated from github.com)
Review

direct update, not join

direct update, not join
PeterSurda commented 2021-03-06 17:06:27 +01:00 (Migrated from github.com)
Review

bad docstring

bad docstring
PeterSurda commented 2021-03-10 09:27:32 +01:00 (Migrated from github.com)
Review

als import sql_ready

als import `sql_ready`
PeterSurda commented 2021-03-10 14:23:24 +01:00 (Migrated from github.com)
Review

test content validity, not just if an entry exists.

test content validity, not just if an entry exists.
PeterSurda commented 2021-03-10 14:24:16 +01:00 (Migrated from github.com)
Review

here also the two exceptions like in class_sqlThread

here also the two exceptions like in `class_sqlThread`
PeterSurda commented 2021-03-10 14:25:37 +01:00 (Migrated from github.com)
Review

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite
PeterSurda commented 2021-03-11 15:43:07 +01:00 (Migrated from github.com)
Review

I don't think this is necessary as it's created by the sql thread already.

I don't think this is necessary as it's created by the sql thread already.
PeterSurda commented 2021-03-11 15:44:08 +01:00 (Migrated from github.com)
Review

these should be class variables or constants defined elsewhere.

Also version should be 4.

these should be class variables or constants defined elsewhere. Also version should be 4.
PeterSurda commented 2021-03-14 18:10:05 +01:00 (Migrated from github.com)
Review

sqlExecute('''DROP TABLE testhash''')

`sqlExecute('''DROP TABLE testhash''')`
PeterSurda commented 2021-03-14 18:10:19 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:36 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:44 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:11:00 +01:00 (Migrated from github.com)
Review

Remove lines 20-22.

Remove lines 20-22.
PeterSurda commented 2021-03-14 18:18:08 +01:00 (Migrated from github.com)
Review

I'm not sure this (line 81) actually tests anything. Remove.

I'm not sure this (line 81) actually tests anything. Remove.
PeterSurda commented 2021-03-15 12:17:46 +01:00 (Migrated from github.com)
Review

direct update, not join

direct update, not join
PeterSurda commented 2021-03-06 17:06:27 +01:00 (Migrated from github.com)
Review

bad docstring

bad docstring
PeterSurda commented 2021-03-10 09:27:32 +01:00 (Migrated from github.com)
Review

als import sql_ready

als import `sql_ready`
PeterSurda commented 2021-03-10 14:23:24 +01:00 (Migrated from github.com)
Review

test content validity, not just if an entry exists.

test content validity, not just if an entry exists.
PeterSurda commented 2021-03-10 14:24:16 +01:00 (Migrated from github.com)
Review

here also the two exceptions like in class_sqlThread

here also the two exceptions like in `class_sqlThread`
PeterSurda commented 2021-03-10 14:25:37 +01:00 (Migrated from github.com)
Review

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite
PeterSurda commented 2021-03-11 15:43:07 +01:00 (Migrated from github.com)
Review

I don't think this is necessary as it's created by the sql thread already.

I don't think this is necessary as it's created by the sql thread already.
PeterSurda commented 2021-03-11 15:44:08 +01:00 (Migrated from github.com)
Review

these should be class variables or constants defined elsewhere.

Also version should be 4.

these should be class variables or constants defined elsewhere. Also version should be 4.
PeterSurda commented 2021-03-14 18:10:05 +01:00 (Migrated from github.com)
Review

sqlExecute('''DROP TABLE testhash''')

`sqlExecute('''DROP TABLE testhash''')`
PeterSurda commented 2021-03-14 18:10:19 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:36 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:44 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:11:00 +01:00 (Migrated from github.com)
Review

Remove lines 20-22.

Remove lines 20-22.
PeterSurda commented 2021-03-14 18:18:08 +01:00 (Migrated from github.com)
Review

I'm not sure this (line 81) actually tests anything. Remove.

I'm not sure this (line 81) actually tests anything. Remove.
PeterSurda commented 2021-03-15 12:17:46 +01:00 (Migrated from github.com)
Review

direct update, not join

direct update, not join
class TestSqlThread(unittest.TestCase):
PeterSurda commented 2021-03-06 17:06:27 +01:00 (Migrated from github.com)
Review

bad docstring

bad docstring
PeterSurda commented 2021-03-10 09:27:32 +01:00 (Migrated from github.com)
Review

als import sql_ready

als import `sql_ready`
PeterSurda commented 2021-03-10 14:23:24 +01:00 (Migrated from github.com)
Review

test content validity, not just if an entry exists.

test content validity, not just if an entry exists.
PeterSurda commented 2021-03-10 14:24:16 +01:00 (Migrated from github.com)
Review

here also the two exceptions like in class_sqlThread

here also the two exceptions like in `class_sqlThread`
PeterSurda commented 2021-03-10 14:25:37 +01:00 (Migrated from github.com)
Review

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite
PeterSurda commented 2021-03-11 15:43:07 +01:00 (Migrated from github.com)
Review

I don't think this is necessary as it's created by the sql thread already.

I don't think this is necessary as it's created by the sql thread already.
PeterSurda commented 2021-03-11 15:44:08 +01:00 (Migrated from github.com)
Review

these should be class variables or constants defined elsewhere.

Also version should be 4.

these should be class variables or constants defined elsewhere. Also version should be 4.
PeterSurda commented 2021-03-14 18:10:05 +01:00 (Migrated from github.com)
Review

sqlExecute('''DROP TABLE testhash''')

`sqlExecute('''DROP TABLE testhash''')`
PeterSurda commented 2021-03-14 18:10:19 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:36 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:44 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:11:00 +01:00 (Migrated from github.com)
Review

Remove lines 20-22.

Remove lines 20-22.
PeterSurda commented 2021-03-14 18:18:08 +01:00 (Migrated from github.com)
Review

I'm not sure this (line 81) actually tests anything. Remove.

I'm not sure this (line 81) actually tests anything. Remove.
PeterSurda commented 2021-03-15 12:17:46 +01:00 (Migrated from github.com)
Review

direct update, not join

direct update, not join
"""
PeterSurda commented 2021-03-06 17:06:27 +01:00 (Migrated from github.com)
Review

bad docstring

bad docstring
PeterSurda commented 2021-03-10 09:27:32 +01:00 (Migrated from github.com)
Review

als import sql_ready

als import `sql_ready`
PeterSurda commented 2021-03-10 14:23:24 +01:00 (Migrated from github.com)
Review

test content validity, not just if an entry exists.

test content validity, not just if an entry exists.
PeterSurda commented 2021-03-10 14:24:16 +01:00 (Migrated from github.com)
Review

here also the two exceptions like in class_sqlThread

here also the two exceptions like in `class_sqlThread`
PeterSurda commented 2021-03-10 14:25:37 +01:00 (Migrated from github.com)
Review

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite
PeterSurda commented 2021-03-11 15:43:07 +01:00 (Migrated from github.com)
Review

I don't think this is necessary as it's created by the sql thread already.

I don't think this is necessary as it's created by the sql thread already.
PeterSurda commented 2021-03-11 15:44:08 +01:00 (Migrated from github.com)
Review

these should be class variables or constants defined elsewhere.

Also version should be 4.

these should be class variables or constants defined elsewhere. Also version should be 4.
PeterSurda commented 2021-03-14 18:10:05 +01:00 (Migrated from github.com)
Review

sqlExecute('''DROP TABLE testhash''')

`sqlExecute('''DROP TABLE testhash''')`
PeterSurda commented 2021-03-14 18:10:19 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:36 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:44 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:11:00 +01:00 (Migrated from github.com)
Review

Remove lines 20-22.

Remove lines 20-22.
PeterSurda commented 2021-03-14 18:18:08 +01:00 (Migrated from github.com)
Review

I'm not sure this (line 81) actually tests anything. Remove.

I'm not sure this (line 81) actually tests anything. Remove.
PeterSurda commented 2021-03-15 12:17:46 +01:00 (Migrated from github.com)
Review

direct update, not join

direct update, not join
Test case for SQLThread
PeterSurda commented 2021-03-06 17:06:27 +01:00 (Migrated from github.com)
Review

bad docstring

bad docstring
PeterSurda commented 2021-03-10 09:27:32 +01:00 (Migrated from github.com)
Review

als import sql_ready

als import `sql_ready`
PeterSurda commented 2021-03-10 14:23:24 +01:00 (Migrated from github.com)
Review

test content validity, not just if an entry exists.

test content validity, not just if an entry exists.
PeterSurda commented 2021-03-10 14:24:16 +01:00 (Migrated from github.com)
Review

here also the two exceptions like in class_sqlThread

here also the two exceptions like in `class_sqlThread`
PeterSurda commented 2021-03-10 14:25:37 +01:00 (Migrated from github.com)
Review

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite
PeterSurda commented 2021-03-11 15:43:07 +01:00 (Migrated from github.com)
Review

I don't think this is necessary as it's created by the sql thread already.

I don't think this is necessary as it's created by the sql thread already.
PeterSurda commented 2021-03-11 15:44:08 +01:00 (Migrated from github.com)
Review

these should be class variables or constants defined elsewhere.

Also version should be 4.

these should be class variables or constants defined elsewhere. Also version should be 4.
PeterSurda commented 2021-03-14 18:10:05 +01:00 (Migrated from github.com)
Review

sqlExecute('''DROP TABLE testhash''')

`sqlExecute('''DROP TABLE testhash''')`
PeterSurda commented 2021-03-14 18:10:19 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:36 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:44 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:11:00 +01:00 (Migrated from github.com)
Review

Remove lines 20-22.

Remove lines 20-22.
PeterSurda commented 2021-03-14 18:18:08 +01:00 (Migrated from github.com)
Review

I'm not sure this (line 81) actually tests anything. Remove.

I'm not sure this (line 81) actually tests anything. Remove.
PeterSurda commented 2021-03-15 12:17:46 +01:00 (Migrated from github.com)
Review

direct update, not join

direct update, not join
"""
PeterSurda commented 2021-03-06 17:06:27 +01:00 (Migrated from github.com)
Review

bad docstring

bad docstring
PeterSurda commented 2021-03-10 09:27:32 +01:00 (Migrated from github.com)
Review

als import sql_ready

als import `sql_ready`
PeterSurda commented 2021-03-10 14:23:24 +01:00 (Migrated from github.com)
Review

test content validity, not just if an entry exists.

test content validity, not just if an entry exists.
PeterSurda commented 2021-03-10 14:24:16 +01:00 (Migrated from github.com)
Review

here also the two exceptions like in class_sqlThread

here also the two exceptions like in `class_sqlThread`
PeterSurda commented 2021-03-10 14:25:37 +01:00 (Migrated from github.com)
Review

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite
PeterSurda commented 2021-03-11 15:43:07 +01:00 (Migrated from github.com)
Review

I don't think this is necessary as it's created by the sql thread already.

I don't think this is necessary as it's created by the sql thread already.
PeterSurda commented 2021-03-11 15:44:08 +01:00 (Migrated from github.com)
Review

these should be class variables or constants defined elsewhere.

Also version should be 4.

these should be class variables or constants defined elsewhere. Also version should be 4.
PeterSurda commented 2021-03-14 18:10:05 +01:00 (Migrated from github.com)
Review

sqlExecute('''DROP TABLE testhash''')

`sqlExecute('''DROP TABLE testhash''')`
PeterSurda commented 2021-03-14 18:10:19 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:36 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:44 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:11:00 +01:00 (Migrated from github.com)
Review

Remove lines 20-22.

Remove lines 20-22.
PeterSurda commented 2021-03-14 18:18:08 +01:00 (Migrated from github.com)
Review

I'm not sure this (line 81) actually tests anything. Remove.

I'm not sure this (line 81) actually tests anything. Remove.
PeterSurda commented 2021-03-15 12:17:46 +01:00 (Migrated from github.com)
Review

direct update, not join

direct update, not join
PeterSurda commented 2021-03-06 17:06:27 +01:00 (Migrated from github.com)
Review

bad docstring

bad docstring
PeterSurda commented 2021-03-10 09:27:32 +01:00 (Migrated from github.com)
Review

als import sql_ready

als import `sql_ready`
PeterSurda commented 2021-03-10 14:23:24 +01:00 (Migrated from github.com)
Review

test content validity, not just if an entry exists.

test content validity, not just if an entry exists.
PeterSurda commented 2021-03-10 14:24:16 +01:00 (Migrated from github.com)
Review

here also the two exceptions like in class_sqlThread

here also the two exceptions like in `class_sqlThread`
PeterSurda commented 2021-03-10 14:25:37 +01:00 (Migrated from github.com)
Review

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite
PeterSurda commented 2021-03-11 15:43:07 +01:00 (Migrated from github.com)
Review

I don't think this is necessary as it's created by the sql thread already.

I don't think this is necessary as it's created by the sql thread already.
PeterSurda commented 2021-03-11 15:44:08 +01:00 (Migrated from github.com)
Review

these should be class variables or constants defined elsewhere.

Also version should be 4.

these should be class variables or constants defined elsewhere. Also version should be 4.
PeterSurda commented 2021-03-14 18:10:05 +01:00 (Migrated from github.com)
Review

sqlExecute('''DROP TABLE testhash''')

`sqlExecute('''DROP TABLE testhash''')`
PeterSurda commented 2021-03-14 18:10:19 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:36 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:44 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:11:00 +01:00 (Migrated from github.com)
Review

Remove lines 20-22.

Remove lines 20-22.
PeterSurda commented 2021-03-14 18:18:08 +01:00 (Migrated from github.com)
Review

I'm not sure this (line 81) actually tests anything. Remove.

I'm not sure this (line 81) actually tests anything. Remove.
PeterSurda commented 2021-03-15 12:17:46 +01:00 (Migrated from github.com)
Review

direct update, not join

direct update, not join
# query file path
PeterSurda commented 2021-03-06 17:06:27 +01:00 (Migrated from github.com)
Review

bad docstring

bad docstring
PeterSurda commented 2021-03-10 09:27:32 +01:00 (Migrated from github.com)
Review

als import sql_ready

als import `sql_ready`
PeterSurda commented 2021-03-10 14:23:24 +01:00 (Migrated from github.com)
Review

test content validity, not just if an entry exists.

test content validity, not just if an entry exists.
PeterSurda commented 2021-03-10 14:24:16 +01:00 (Migrated from github.com)
Review

here also the two exceptions like in class_sqlThread

here also the two exceptions like in `class_sqlThread`
PeterSurda commented 2021-03-10 14:25:37 +01:00 (Migrated from github.com)
Review

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite
PeterSurda commented 2021-03-11 15:43:07 +01:00 (Migrated from github.com)
Review

I don't think this is necessary as it's created by the sql thread already.

I don't think this is necessary as it's created by the sql thread already.
PeterSurda commented 2021-03-11 15:44:08 +01:00 (Migrated from github.com)
Review

these should be class variables or constants defined elsewhere.

Also version should be 4.

these should be class variables or constants defined elsewhere. Also version should be 4.
PeterSurda commented 2021-03-14 18:10:05 +01:00 (Migrated from github.com)
Review

sqlExecute('''DROP TABLE testhash''')

`sqlExecute('''DROP TABLE testhash''')`
PeterSurda commented 2021-03-14 18:10:19 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:36 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:44 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:11:00 +01:00 (Migrated from github.com)
Review

Remove lines 20-22.

Remove lines 20-22.
PeterSurda commented 2021-03-14 18:18:08 +01:00 (Migrated from github.com)
Review

I'm not sure this (line 81) actually tests anything. Remove.

I'm not sure this (line 81) actually tests anything. Remove.
PeterSurda commented 2021-03-15 12:17:46 +01:00 (Migrated from github.com)
Review

direct update, not join

direct update, not join
root_path = os.path.dirname(os.path.dirname(__file__))
PeterSurda commented 2021-03-06 17:06:27 +01:00 (Migrated from github.com)
Review

bad docstring

bad docstring
PeterSurda commented 2021-03-10 09:27:32 +01:00 (Migrated from github.com)
Review

als import sql_ready

als import `sql_ready`
PeterSurda commented 2021-03-10 14:23:24 +01:00 (Migrated from github.com)
Review

test content validity, not just if an entry exists.

test content validity, not just if an entry exists.
PeterSurda commented 2021-03-10 14:24:16 +01:00 (Migrated from github.com)
Review

here also the two exceptions like in class_sqlThread

here also the two exceptions like in `class_sqlThread`
PeterSurda commented 2021-03-10 14:25:37 +01:00 (Migrated from github.com)
Review

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite
PeterSurda commented 2021-03-11 15:43:07 +01:00 (Migrated from github.com)
Review

I don't think this is necessary as it's created by the sql thread already.

I don't think this is necessary as it's created by the sql thread already.
PeterSurda commented 2021-03-11 15:44:08 +01:00 (Migrated from github.com)
Review

these should be class variables or constants defined elsewhere.

Also version should be 4.

these should be class variables or constants defined elsewhere. Also version should be 4.
PeterSurda commented 2021-03-14 18:10:05 +01:00 (Migrated from github.com)
Review

sqlExecute('''DROP TABLE testhash''')

`sqlExecute('''DROP TABLE testhash''')`
PeterSurda commented 2021-03-14 18:10:19 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:36 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:44 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:11:00 +01:00 (Migrated from github.com)
Review

Remove lines 20-22.

Remove lines 20-22.
PeterSurda commented 2021-03-14 18:18:08 +01:00 (Migrated from github.com)
Review

I'm not sure this (line 81) actually tests anything. Remove.

I'm not sure this (line 81) actually tests anything. Remove.
PeterSurda commented 2021-03-15 12:17:46 +01:00 (Migrated from github.com)
Review

direct update, not join

direct update, not join
PeterSurda commented 2021-03-06 17:06:27 +01:00 (Migrated from github.com)
Review

bad docstring

bad docstring
PeterSurda commented 2021-03-10 09:27:32 +01:00 (Migrated from github.com)
Review

als import sql_ready

als import `sql_ready`
PeterSurda commented 2021-03-10 14:23:24 +01:00 (Migrated from github.com)
Review

test content validity, not just if an entry exists.

test content validity, not just if an entry exists.
PeterSurda commented 2021-03-10 14:24:16 +01:00 (Migrated from github.com)
Review

here also the two exceptions like in class_sqlThread

here also the two exceptions like in `class_sqlThread`
PeterSurda commented 2021-03-10 14:25:37 +01:00 (Migrated from github.com)
Review

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite
PeterSurda commented 2021-03-11 15:43:07 +01:00 (Migrated from github.com)
Review

I don't think this is necessary as it's created by the sql thread already.

I don't think this is necessary as it's created by the sql thread already.
PeterSurda commented 2021-03-11 15:44:08 +01:00 (Migrated from github.com)
Review

these should be class variables or constants defined elsewhere.

Also version should be 4.

these should be class variables or constants defined elsewhere. Also version should be 4.
PeterSurda commented 2021-03-14 18:10:05 +01:00 (Migrated from github.com)
Review

sqlExecute('''DROP TABLE testhash''')

`sqlExecute('''DROP TABLE testhash''')`
PeterSurda commented 2021-03-14 18:10:19 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:36 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:44 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:11:00 +01:00 (Migrated from github.com)
Review

Remove lines 20-22.

Remove lines 20-22.
PeterSurda commented 2021-03-14 18:18:08 +01:00 (Migrated from github.com)
Review

I'm not sure this (line 81) actually tests anything. Remove.

I'm not sure this (line 81) actually tests anything. Remove.
PeterSurda commented 2021-03-15 12:17:46 +01:00 (Migrated from github.com)
Review

direct update, not join

direct update, not join
@classmethod
PeterSurda commented 2021-03-06 17:06:27 +01:00 (Migrated from github.com)
Review

bad docstring

bad docstring
PeterSurda commented 2021-03-10 09:27:32 +01:00 (Migrated from github.com)
Review

als import sql_ready

als import `sql_ready`
PeterSurda commented 2021-03-10 14:23:24 +01:00 (Migrated from github.com)
Review

test content validity, not just if an entry exists.

test content validity, not just if an entry exists.
PeterSurda commented 2021-03-10 14:24:16 +01:00 (Migrated from github.com)
Review

here also the two exceptions like in class_sqlThread

here also the two exceptions like in `class_sqlThread`
PeterSurda commented 2021-03-10 14:25:37 +01:00 (Migrated from github.com)
Review

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite
PeterSurda commented 2021-03-11 15:43:07 +01:00 (Migrated from github.com)
Review

I don't think this is necessary as it's created by the sql thread already.

I don't think this is necessary as it's created by the sql thread already.
PeterSurda commented 2021-03-11 15:44:08 +01:00 (Migrated from github.com)
Review

these should be class variables or constants defined elsewhere.

Also version should be 4.

these should be class variables or constants defined elsewhere. Also version should be 4.
PeterSurda commented 2021-03-14 18:10:05 +01:00 (Migrated from github.com)
Review

sqlExecute('''DROP TABLE testhash''')

`sqlExecute('''DROP TABLE testhash''')`
PeterSurda commented 2021-03-14 18:10:19 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:36 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:44 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:11:00 +01:00 (Migrated from github.com)
Review

Remove lines 20-22.

Remove lines 20-22.
PeterSurda commented 2021-03-14 18:18:08 +01:00 (Migrated from github.com)
Review

I'm not sure this (line 81) actually tests anything. Remove.

I'm not sure this (line 81) actually tests anything. Remove.
PeterSurda commented 2021-03-15 12:17:46 +01:00 (Migrated from github.com)
Review

direct update, not join

direct update, not join
def setUpClass(cls):
PeterSurda commented 2021-03-06 17:06:27 +01:00 (Migrated from github.com)
Review

bad docstring

bad docstring
PeterSurda commented 2021-03-10 09:27:32 +01:00 (Migrated from github.com)
Review

als import sql_ready

als import `sql_ready`
PeterSurda commented 2021-03-10 14:23:24 +01:00 (Migrated from github.com)
Review

test content validity, not just if an entry exists.

test content validity, not just if an entry exists.
PeterSurda commented 2021-03-10 14:24:16 +01:00 (Migrated from github.com)
Review

here also the two exceptions like in class_sqlThread

here also the two exceptions like in `class_sqlThread`
PeterSurda commented 2021-03-10 14:25:37 +01:00 (Migrated from github.com)
Review

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite
PeterSurda commented 2021-03-11 15:43:07 +01:00 (Migrated from github.com)
Review

I don't think this is necessary as it's created by the sql thread already.

I don't think this is necessary as it's created by the sql thread already.
PeterSurda commented 2021-03-11 15:44:08 +01:00 (Migrated from github.com)
Review

these should be class variables or constants defined elsewhere.

Also version should be 4.

these should be class variables or constants defined elsewhere. Also version should be 4.
PeterSurda commented 2021-03-14 18:10:05 +01:00 (Migrated from github.com)
Review

sqlExecute('''DROP TABLE testhash''')

`sqlExecute('''DROP TABLE testhash''')`
PeterSurda commented 2021-03-14 18:10:19 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:36 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:44 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:11:00 +01:00 (Migrated from github.com)
Review

Remove lines 20-22.

Remove lines 20-22.
PeterSurda commented 2021-03-14 18:18:08 +01:00 (Migrated from github.com)
Review

I'm not sure this (line 81) actually tests anything. Remove.

I'm not sure this (line 81) actually tests anything. Remove.
PeterSurda commented 2021-03-15 12:17:46 +01:00 (Migrated from github.com)
Review

direct update, not join

direct update, not join
# Start SQL thread
PeterSurda commented 2021-03-06 17:06:27 +01:00 (Migrated from github.com)
Review

bad docstring

bad docstring
PeterSurda commented 2021-03-10 09:27:32 +01:00 (Migrated from github.com)
Review

als import sql_ready

als import `sql_ready`
PeterSurda commented 2021-03-10 14:23:24 +01:00 (Migrated from github.com)
Review

test content validity, not just if an entry exists.

test content validity, not just if an entry exists.
PeterSurda commented 2021-03-10 14:24:16 +01:00 (Migrated from github.com)
Review

here also the two exceptions like in class_sqlThread

here also the two exceptions like in `class_sqlThread`
PeterSurda commented 2021-03-10 14:25:37 +01:00 (Migrated from github.com)
Review

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite
PeterSurda commented 2021-03-11 15:43:07 +01:00 (Migrated from github.com)
Review

I don't think this is necessary as it's created by the sql thread already.

I don't think this is necessary as it's created by the sql thread already.
PeterSurda commented 2021-03-11 15:44:08 +01:00 (Migrated from github.com)
Review

these should be class variables or constants defined elsewhere.

Also version should be 4.

these should be class variables or constants defined elsewhere. Also version should be 4.
PeterSurda commented 2021-03-14 18:10:05 +01:00 (Migrated from github.com)
Review

sqlExecute('''DROP TABLE testhash''')

`sqlExecute('''DROP TABLE testhash''')`
PeterSurda commented 2021-03-14 18:10:19 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:36 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:44 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:11:00 +01:00 (Migrated from github.com)
Review

Remove lines 20-22.

Remove lines 20-22.
PeterSurda commented 2021-03-14 18:18:08 +01:00 (Migrated from github.com)
Review

I'm not sure this (line 81) actually tests anything. Remove.

I'm not sure this (line 81) actually tests anything. Remove.
PeterSurda commented 2021-03-15 12:17:46 +01:00 (Migrated from github.com)
Review

direct update, not join

direct update, not join
sqlLookup = sqlThread()
PeterSurda commented 2021-03-06 17:06:27 +01:00 (Migrated from github.com)
Review

bad docstring

bad docstring
PeterSurda commented 2021-03-10 09:27:32 +01:00 (Migrated from github.com)
Review

als import sql_ready

als import `sql_ready`
PeterSurda commented 2021-03-10 14:23:24 +01:00 (Migrated from github.com)
Review

test content validity, not just if an entry exists.

test content validity, not just if an entry exists.
PeterSurda commented 2021-03-10 14:24:16 +01:00 (Migrated from github.com)
Review

here also the two exceptions like in class_sqlThread

here also the two exceptions like in `class_sqlThread`
PeterSurda commented 2021-03-10 14:25:37 +01:00 (Migrated from github.com)
Review

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite
PeterSurda commented 2021-03-11 15:43:07 +01:00 (Migrated from github.com)
Review

I don't think this is necessary as it's created by the sql thread already.

I don't think this is necessary as it's created by the sql thread already.
PeterSurda commented 2021-03-11 15:44:08 +01:00 (Migrated from github.com)
Review

these should be class variables or constants defined elsewhere.

Also version should be 4.

these should be class variables or constants defined elsewhere. Also version should be 4.
PeterSurda commented 2021-03-14 18:10:05 +01:00 (Migrated from github.com)
Review

sqlExecute('''DROP TABLE testhash''')

`sqlExecute('''DROP TABLE testhash''')`
PeterSurda commented 2021-03-14 18:10:19 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:36 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:44 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:11:00 +01:00 (Migrated from github.com)
Review

Remove lines 20-22.

Remove lines 20-22.
PeterSurda commented 2021-03-14 18:18:08 +01:00 (Migrated from github.com)
Review

I'm not sure this (line 81) actually tests anything. Remove.

I'm not sure this (line 81) actually tests anything. Remove.
PeterSurda commented 2021-03-15 12:17:46 +01:00 (Migrated from github.com)
Review

direct update, not join

direct update, not join
sqlLookup.daemon = False
PeterSurda commented 2021-03-06 17:06:27 +01:00 (Migrated from github.com)
Review

bad docstring

bad docstring
PeterSurda commented 2021-03-10 09:27:32 +01:00 (Migrated from github.com)
Review

als import sql_ready

als import `sql_ready`
PeterSurda commented 2021-03-10 14:23:24 +01:00 (Migrated from github.com)
Review

test content validity, not just if an entry exists.

test content validity, not just if an entry exists.
PeterSurda commented 2021-03-10 14:24:16 +01:00 (Migrated from github.com)
Review

here also the two exceptions like in class_sqlThread

here also the two exceptions like in `class_sqlThread`
PeterSurda commented 2021-03-10 14:25:37 +01:00 (Migrated from github.com)
Review

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite
PeterSurda commented 2021-03-11 15:43:07 +01:00 (Migrated from github.com)
Review

I don't think this is necessary as it's created by the sql thread already.

I don't think this is necessary as it's created by the sql thread already.
PeterSurda commented 2021-03-11 15:44:08 +01:00 (Migrated from github.com)
Review

these should be class variables or constants defined elsewhere.

Also version should be 4.

these should be class variables or constants defined elsewhere. Also version should be 4.
PeterSurda commented 2021-03-14 18:10:05 +01:00 (Migrated from github.com)
Review

sqlExecute('''DROP TABLE testhash''')

`sqlExecute('''DROP TABLE testhash''')`
PeterSurda commented 2021-03-14 18:10:19 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:36 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:44 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:11:00 +01:00 (Migrated from github.com)
Review

Remove lines 20-22.

Remove lines 20-22.
PeterSurda commented 2021-03-14 18:18:08 +01:00 (Migrated from github.com)
Review

I'm not sure this (line 81) actually tests anything. Remove.

I'm not sure this (line 81) actually tests anything. Remove.
PeterSurda commented 2021-03-15 12:17:46 +01:00 (Migrated from github.com)
Review

direct update, not join

direct update, not join
sqlLookup.start()
PeterSurda commented 2021-03-06 17:06:27 +01:00 (Migrated from github.com)
Review

bad docstring

bad docstring
PeterSurda commented 2021-03-10 09:27:19 +01:00 (Migrated from github.com)
Review

add sql_ready.wait()

add `sql_ready.wait()`
PeterSurda commented 2021-03-10 09:27:32 +01:00 (Migrated from github.com)
Review

als import sql_ready

als import `sql_ready`
PeterSurda commented 2021-03-10 14:23:24 +01:00 (Migrated from github.com)
Review

test content validity, not just if an entry exists.

test content validity, not just if an entry exists.
PeterSurda commented 2021-03-10 14:24:16 +01:00 (Migrated from github.com)
Review

here also the two exceptions like in class_sqlThread

here also the two exceptions like in `class_sqlThread`
PeterSurda commented 2021-03-10 14:25:37 +01:00 (Migrated from github.com)
Review

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite
PeterSurda commented 2021-03-11 15:43:07 +01:00 (Migrated from github.com)
Review

I don't think this is necessary as it's created by the sql thread already.

I don't think this is necessary as it's created by the sql thread already.
PeterSurda commented 2021-03-11 15:44:08 +01:00 (Migrated from github.com)
Review

these should be class variables or constants defined elsewhere.

Also version should be 4.

these should be class variables or constants defined elsewhere. Also version should be 4.
PeterSurda commented 2021-03-14 18:10:05 +01:00 (Migrated from github.com)
Review

sqlExecute('''DROP TABLE testhash''')

`sqlExecute('''DROP TABLE testhash''')`
PeterSurda commented 2021-03-14 18:10:19 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:36 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:44 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:11:00 +01:00 (Migrated from github.com)
Review

Remove lines 20-22.

Remove lines 20-22.
PeterSurda commented 2021-03-14 18:18:08 +01:00 (Migrated from github.com)
Review

I'm not sure this (line 81) actually tests anything. Remove.

I'm not sure this (line 81) actually tests anything. Remove.
PeterSurda commented 2021-03-15 12:17:46 +01:00 (Migrated from github.com)
Review

direct update, not join

direct update, not join
sql_ready.wait()
PeterSurda commented 2021-03-06 17:06:27 +01:00 (Migrated from github.com)
Review

bad docstring

bad docstring
PeterSurda commented 2021-03-10 09:27:32 +01:00 (Migrated from github.com)
Review

als import sql_ready

als import `sql_ready`
PeterSurda commented 2021-03-10 14:23:24 +01:00 (Migrated from github.com)
Review

test content validity, not just if an entry exists.

test content validity, not just if an entry exists.
PeterSurda commented 2021-03-10 14:24:16 +01:00 (Migrated from github.com)
Review

here also the two exceptions like in class_sqlThread

here also the two exceptions like in `class_sqlThread`
PeterSurda commented 2021-03-10 14:25:37 +01:00 (Migrated from github.com)
Review

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite
PeterSurda commented 2021-03-11 15:43:07 +01:00 (Migrated from github.com)
Review

I don't think this is necessary as it's created by the sql thread already.

I don't think this is necessary as it's created by the sql thread already.
PeterSurda commented 2021-03-11 15:44:08 +01:00 (Migrated from github.com)
Review

these should be class variables or constants defined elsewhere.

Also version should be 4.

these should be class variables or constants defined elsewhere. Also version should be 4.
PeterSurda commented 2021-03-14 18:10:05 +01:00 (Migrated from github.com)
Review

sqlExecute('''DROP TABLE testhash''')

`sqlExecute('''DROP TABLE testhash''')`
PeterSurda commented 2021-03-14 18:10:19 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:36 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:44 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:11:00 +01:00 (Migrated from github.com)
Review

Remove lines 20-22.

Remove lines 20-22.
PeterSurda commented 2021-03-14 18:18:08 +01:00 (Migrated from github.com)
Review

I'm not sure this (line 81) actually tests anything. Remove.

I'm not sure this (line 81) actually tests anything. Remove.
PeterSurda commented 2021-03-15 12:17:46 +01:00 (Migrated from github.com)
Review

direct update, not join

direct update, not join
PeterSurda commented 2021-03-06 17:06:27 +01:00 (Migrated from github.com)
Review

bad docstring

bad docstring
PeterSurda commented 2021-03-10 09:27:32 +01:00 (Migrated from github.com)
Review

als import sql_ready

als import `sql_ready`
PeterSurda commented 2021-03-10 14:23:24 +01:00 (Migrated from github.com)
Review

test content validity, not just if an entry exists.

test content validity, not just if an entry exists.
PeterSurda commented 2021-03-10 14:24:16 +01:00 (Migrated from github.com)
Review

here also the two exceptions like in class_sqlThread

here also the two exceptions like in `class_sqlThread`
PeterSurda commented 2021-03-10 14:25:37 +01:00 (Migrated from github.com)
Review

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite
PeterSurda commented 2021-03-11 15:43:07 +01:00 (Migrated from github.com)
Review

I don't think this is necessary as it's created by the sql thread already.

I don't think this is necessary as it's created by the sql thread already.
PeterSurda commented 2021-03-11 15:44:08 +01:00 (Migrated from github.com)
Review

these should be class variables or constants defined elsewhere.

Also version should be 4.

these should be class variables or constants defined elsewhere. Also version should be 4.
PeterSurda commented 2021-03-14 18:10:05 +01:00 (Migrated from github.com)
Review

sqlExecute('''DROP TABLE testhash''')

`sqlExecute('''DROP TABLE testhash''')`
PeterSurda commented 2021-03-14 18:10:19 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:36 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:44 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:11:00 +01:00 (Migrated from github.com)
Review

Remove lines 20-22.

Remove lines 20-22.
PeterSurda commented 2021-03-14 18:18:08 +01:00 (Migrated from github.com)
Review

I'm not sure this (line 81) actually tests anything. Remove.

I'm not sure this (line 81) actually tests anything. Remove.
PeterSurda commented 2021-03-15 12:17:46 +01:00 (Migrated from github.com)
Review

direct update, not join

direct update, not join
@classmethod
PeterSurda commented 2021-03-06 17:06:27 +01:00 (Migrated from github.com)
Review

bad docstring

bad docstring
PeterSurda commented 2021-03-10 09:27:32 +01:00 (Migrated from github.com)
Review

als import sql_ready

als import `sql_ready`
PeterSurda commented 2021-03-10 14:23:24 +01:00 (Migrated from github.com)
Review

test content validity, not just if an entry exists.

test content validity, not just if an entry exists.
PeterSurda commented 2021-03-10 14:24:16 +01:00 (Migrated from github.com)
Review

here also the two exceptions like in class_sqlThread

here also the two exceptions like in `class_sqlThread`
PeterSurda commented 2021-03-10 14:25:37 +01:00 (Migrated from github.com)
Review

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite
PeterSurda commented 2021-03-11 15:43:07 +01:00 (Migrated from github.com)
Review

I don't think this is necessary as it's created by the sql thread already.

I don't think this is necessary as it's created by the sql thread already.
PeterSurda commented 2021-03-11 15:44:08 +01:00 (Migrated from github.com)
Review

these should be class variables or constants defined elsewhere.

Also version should be 4.

these should be class variables or constants defined elsewhere. Also version should be 4.
PeterSurda commented 2021-03-14 18:10:05 +01:00 (Migrated from github.com)
Review

sqlExecute('''DROP TABLE testhash''')

`sqlExecute('''DROP TABLE testhash''')`
PeterSurda commented 2021-03-14 18:10:19 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:36 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:44 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:11:00 +01:00 (Migrated from github.com)
Review

Remove lines 20-22.

Remove lines 20-22.
PeterSurda commented 2021-03-14 18:18:08 +01:00 (Migrated from github.com)
Review

I'm not sure this (line 81) actually tests anything. Remove.

I'm not sure this (line 81) actually tests anything. Remove.
PeterSurda commented 2021-03-15 12:17:46 +01:00 (Migrated from github.com)
Review

direct update, not join

direct update, not join
def setUp(cls):
PeterSurda commented 2021-03-06 17:06:27 +01:00 (Migrated from github.com)
Review

bad docstring

bad docstring
PeterSurda commented 2021-03-10 09:27:32 +01:00 (Migrated from github.com)
Review

als import sql_ready

als import `sql_ready`
PeterSurda commented 2021-03-10 14:23:24 +01:00 (Migrated from github.com)
Review

test content validity, not just if an entry exists.

test content validity, not just if an entry exists.
PeterSurda commented 2021-03-10 14:24:16 +01:00 (Migrated from github.com)
Review

here also the two exceptions like in class_sqlThread

here also the two exceptions like in `class_sqlThread`
PeterSurda commented 2021-03-10 14:25:37 +01:00 (Migrated from github.com)
Review

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite
PeterSurda commented 2021-03-11 15:43:07 +01:00 (Migrated from github.com)
Review

I don't think this is necessary as it's created by the sql thread already.

I don't think this is necessary as it's created by the sql thread already.
PeterSurda commented 2021-03-11 15:44:08 +01:00 (Migrated from github.com)
Review

these should be class variables or constants defined elsewhere.

Also version should be 4.

these should be class variables or constants defined elsewhere. Also version should be 4.
PeterSurda commented 2021-03-14 18:10:05 +01:00 (Migrated from github.com)
Review

sqlExecute('''DROP TABLE testhash''')

`sqlExecute('''DROP TABLE testhash''')`
PeterSurda commented 2021-03-14 18:10:19 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:36 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:44 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:11:00 +01:00 (Migrated from github.com)
Review

Remove lines 20-22.

Remove lines 20-22.
PeterSurda commented 2021-03-14 18:18:08 +01:00 (Migrated from github.com)
Review

I'm not sure this (line 81) actually tests anything. Remove.

I'm not sure this (line 81) actually tests anything. Remove.
PeterSurda commented 2021-03-15 12:17:46 +01:00 (Migrated from github.com)
Review

direct update, not join

direct update, not join
tables = list(sqlQuery("select name from sqlite_master where type is 'table'"))
PeterSurda commented 2021-03-06 17:06:27 +01:00 (Migrated from github.com)
Review

bad docstring

bad docstring
PeterSurda commented 2021-03-10 09:27:32 +01:00 (Migrated from github.com)
Review

als import sql_ready

als import `sql_ready`
PeterSurda commented 2021-03-10 14:23:24 +01:00 (Migrated from github.com)
Review

test content validity, not just if an entry exists.

test content validity, not just if an entry exists.
PeterSurda commented 2021-03-10 14:24:16 +01:00 (Migrated from github.com)
Review

here also the two exceptions like in class_sqlThread

here also the two exceptions like in `class_sqlThread`
PeterSurda commented 2021-03-10 14:25:37 +01:00 (Migrated from github.com)
Review

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite
PeterSurda commented 2021-03-11 15:43:07 +01:00 (Migrated from github.com)
Review

I don't think this is necessary as it's created by the sql thread already.

I don't think this is necessary as it's created by the sql thread already.
PeterSurda commented 2021-03-11 15:44:08 +01:00 (Migrated from github.com)
Review

these should be class variables or constants defined elsewhere.

Also version should be 4.

these should be class variables or constants defined elsewhere. Also version should be 4.
PeterSurda commented 2021-03-14 18:10:05 +01:00 (Migrated from github.com)
Review

sqlExecute('''DROP TABLE testhash''')

`sqlExecute('''DROP TABLE testhash''')`
PeterSurda commented 2021-03-14 18:10:19 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:36 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:44 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:11:00 +01:00 (Migrated from github.com)
Review

Remove lines 20-22.

Remove lines 20-22.
PeterSurda commented 2021-03-14 18:18:08 +01:00 (Migrated from github.com)
Review

I'm not sure this (line 81) actually tests anything. Remove.

I'm not sure this (line 81) actually tests anything. Remove.
PeterSurda commented 2021-03-15 12:17:46 +01:00 (Migrated from github.com)
Review

direct update, not join

direct update, not join
with SqlBulkExecute() as sql:
PeterSurda commented 2021-03-06 17:06:27 +01:00 (Migrated from github.com)
Review

bad docstring

bad docstring
PeterSurda commented 2021-03-10 09:27:32 +01:00 (Migrated from github.com)
Review

als import sql_ready

als import `sql_ready`
PeterSurda commented 2021-03-10 14:23:24 +01:00 (Migrated from github.com)
Review

test content validity, not just if an entry exists.

test content validity, not just if an entry exists.
PeterSurda commented 2021-03-10 14:24:16 +01:00 (Migrated from github.com)
Review

here also the two exceptions like in class_sqlThread

here also the two exceptions like in `class_sqlThread`
PeterSurda commented 2021-03-10 14:25:37 +01:00 (Migrated from github.com)
Review

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite
PeterSurda commented 2021-03-11 15:43:07 +01:00 (Migrated from github.com)
Review

I don't think this is necessary as it's created by the sql thread already.

I don't think this is necessary as it's created by the sql thread already.
PeterSurda commented 2021-03-11 15:44:08 +01:00 (Migrated from github.com)
Review

these should be class variables or constants defined elsewhere.

Also version should be 4.

these should be class variables or constants defined elsewhere. Also version should be 4.
PeterSurda commented 2021-03-14 18:10:05 +01:00 (Migrated from github.com)
Review

sqlExecute('''DROP TABLE testhash''')

`sqlExecute('''DROP TABLE testhash''')`
PeterSurda commented 2021-03-14 18:10:19 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:36 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:44 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:11:00 +01:00 (Migrated from github.com)
Review

Remove lines 20-22.

Remove lines 20-22.
PeterSurda commented 2021-03-14 18:18:08 +01:00 (Migrated from github.com)
Review

I'm not sure this (line 81) actually tests anything. Remove.

I'm not sure this (line 81) actually tests anything. Remove.
PeterSurda commented 2021-03-15 12:17:46 +01:00 (Migrated from github.com)
Review

direct update, not join

direct update, not join
for q in tables:
PeterSurda commented 2021-03-06 17:06:27 +01:00 (Migrated from github.com)
Review

bad docstring

bad docstring
PeterSurda commented 2021-03-10 09:27:32 +01:00 (Migrated from github.com)
Review

als import sql_ready

als import `sql_ready`
PeterSurda commented 2021-03-10 14:23:24 +01:00 (Migrated from github.com)
Review

test content validity, not just if an entry exists.

test content validity, not just if an entry exists.
PeterSurda commented 2021-03-10 14:24:16 +01:00 (Migrated from github.com)
Review

here also the two exceptions like in class_sqlThread

here also the two exceptions like in `class_sqlThread`
PeterSurda commented 2021-03-10 14:25:37 +01:00 (Migrated from github.com)
Review

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite
PeterSurda commented 2021-03-11 15:43:07 +01:00 (Migrated from github.com)
Review

I don't think this is necessary as it's created by the sql thread already.

I don't think this is necessary as it's created by the sql thread already.
PeterSurda commented 2021-03-11 15:44:08 +01:00 (Migrated from github.com)
Review

these should be class variables or constants defined elsewhere.

Also version should be 4.

these should be class variables or constants defined elsewhere. Also version should be 4.
PeterSurda commented 2021-03-14 18:10:05 +01:00 (Migrated from github.com)
Review

sqlExecute('''DROP TABLE testhash''')

`sqlExecute('''DROP TABLE testhash''')`
PeterSurda commented 2021-03-14 18:10:19 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:36 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:44 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:11:00 +01:00 (Migrated from github.com)
Review

Remove lines 20-22.

Remove lines 20-22.
PeterSurda commented 2021-03-14 18:18:08 +01:00 (Migrated from github.com)
Review

I'm not sure this (line 81) actually tests anything. Remove.

I'm not sure this (line 81) actually tests anything. Remove.
PeterSurda commented 2021-03-15 12:17:46 +01:00 (Migrated from github.com)
Review

direct update, not join

direct update, not join
sql.execute("drop table if exists %s" % q)
PeterSurda commented 2021-03-06 17:06:27 +01:00 (Migrated from github.com)
Review

bad docstring

bad docstring
PeterSurda commented 2021-03-10 09:27:32 +01:00 (Migrated from github.com)
Review

als import sql_ready

als import `sql_ready`
PeterSurda commented 2021-03-10 14:23:24 +01:00 (Migrated from github.com)
Review

test content validity, not just if an entry exists.

test content validity, not just if an entry exists.
PeterSurda commented 2021-03-10 14:24:16 +01:00 (Migrated from github.com)
Review

here also the two exceptions like in class_sqlThread

here also the two exceptions like in `class_sqlThread`
PeterSurda commented 2021-03-10 14:25:37 +01:00 (Migrated from github.com)
Review

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite
PeterSurda commented 2021-03-11 15:43:07 +01:00 (Migrated from github.com)
Review

I don't think this is necessary as it's created by the sql thread already.

I don't think this is necessary as it's created by the sql thread already.
PeterSurda commented 2021-03-11 15:44:08 +01:00 (Migrated from github.com)
Review

these should be class variables or constants defined elsewhere.

Also version should be 4.

these should be class variables or constants defined elsewhere. Also version should be 4.
PeterSurda commented 2021-03-14 18:10:05 +01:00 (Migrated from github.com)
Review

sqlExecute('''DROP TABLE testhash''')

`sqlExecute('''DROP TABLE testhash''')`
PeterSurda commented 2021-03-14 18:10:19 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:36 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:44 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:11:00 +01:00 (Migrated from github.com)
Review

Remove lines 20-22.

Remove lines 20-22.
PeterSurda commented 2021-03-14 18:18:08 +01:00 (Migrated from github.com)
Review

I'm not sure this (line 81) actually tests anything. Remove.

I'm not sure this (line 81) actually tests anything. Remove.
PeterSurda commented 2021-03-15 12:17:46 +01:00 (Migrated from github.com)
Review

direct update, not join

direct update, not join
PeterSurda commented 2021-03-06 17:06:27 +01:00 (Migrated from github.com)
Review

bad docstring

bad docstring
PeterSurda commented 2021-03-10 09:27:32 +01:00 (Migrated from github.com)
Review

als import sql_ready

als import `sql_ready`
PeterSurda commented 2021-03-10 14:23:24 +01:00 (Migrated from github.com)
Review

test content validity, not just if an entry exists.

test content validity, not just if an entry exists.
PeterSurda commented 2021-03-10 14:24:16 +01:00 (Migrated from github.com)
Review

here also the two exceptions like in class_sqlThread

here also the two exceptions like in `class_sqlThread`
PeterSurda commented 2021-03-10 14:25:37 +01:00 (Migrated from github.com)
Review

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite
PeterSurda commented 2021-03-11 15:43:07 +01:00 (Migrated from github.com)
Review

I don't think this is necessary as it's created by the sql thread already.

I don't think this is necessary as it's created by the sql thread already.
PeterSurda commented 2021-03-11 15:44:08 +01:00 (Migrated from github.com)
Review

these should be class variables or constants defined elsewhere.

Also version should be 4.

these should be class variables or constants defined elsewhere. Also version should be 4.
PeterSurda commented 2021-03-14 18:10:05 +01:00 (Migrated from github.com)
Review

sqlExecute('''DROP TABLE testhash''')

`sqlExecute('''DROP TABLE testhash''')`
PeterSurda commented 2021-03-14 18:10:19 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:36 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:44 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:11:00 +01:00 (Migrated from github.com)
Review

Remove lines 20-22.

Remove lines 20-22.
PeterSurda commented 2021-03-14 18:18:08 +01:00 (Migrated from github.com)
Review

I'm not sure this (line 81) actually tests anything. Remove.

I'm not sure this (line 81) actually tests anything. Remove.
PeterSurda commented 2021-03-15 12:17:46 +01:00 (Migrated from github.com)
Review

direct update, not join

direct update, not join
@classmethod
PeterSurda commented 2021-03-06 17:06:27 +01:00 (Migrated from github.com)
Review

bad docstring

bad docstring
PeterSurda commented 2021-03-10 09:27:32 +01:00 (Migrated from github.com)
Review

als import sql_ready

als import `sql_ready`
PeterSurda commented 2021-03-10 14:23:24 +01:00 (Migrated from github.com)
Review

test content validity, not just if an entry exists.

test content validity, not just if an entry exists.
PeterSurda commented 2021-03-10 14:24:16 +01:00 (Migrated from github.com)
Review

here also the two exceptions like in class_sqlThread

here also the two exceptions like in `class_sqlThread`
PeterSurda commented 2021-03-10 14:25:37 +01:00 (Migrated from github.com)
Review

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite
PeterSurda commented 2021-03-11 15:43:07 +01:00 (Migrated from github.com)
Review

I don't think this is necessary as it's created by the sql thread already.

I don't think this is necessary as it's created by the sql thread already.
PeterSurda commented 2021-03-11 15:44:08 +01:00 (Migrated from github.com)
Review

these should be class variables or constants defined elsewhere.

Also version should be 4.

these should be class variables or constants defined elsewhere. Also version should be 4.
PeterSurda commented 2021-03-14 18:10:05 +01:00 (Migrated from github.com)
Review

sqlExecute('''DROP TABLE testhash''')

`sqlExecute('''DROP TABLE testhash''')`
PeterSurda commented 2021-03-14 18:10:19 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:36 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:44 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:11:00 +01:00 (Migrated from github.com)
Review

Remove lines 20-22.

Remove lines 20-22.
PeterSurda commented 2021-03-14 18:18:08 +01:00 (Migrated from github.com)
Review

I'm not sure this (line 81) actually tests anything. Remove.

I'm not sure this (line 81) actually tests anything. Remove.
PeterSurda commented 2021-03-15 12:17:46 +01:00 (Migrated from github.com)
Review

direct update, not join

direct update, not join
def tearDown(cls):
PeterSurda commented 2021-03-06 17:06:27 +01:00 (Migrated from github.com)
Review

bad docstring

bad docstring
PeterSurda commented 2021-03-10 09:27:32 +01:00 (Migrated from github.com)
Review

als import sql_ready

als import `sql_ready`
PeterSurda commented 2021-03-10 14:23:24 +01:00 (Migrated from github.com)
Review

test content validity, not just if an entry exists.

test content validity, not just if an entry exists.
PeterSurda commented 2021-03-10 14:24:16 +01:00 (Migrated from github.com)
Review

here also the two exceptions like in class_sqlThread

here also the two exceptions like in `class_sqlThread`
PeterSurda commented 2021-03-10 14:25:37 +01:00 (Migrated from github.com)
Review

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite
PeterSurda commented 2021-03-11 15:43:07 +01:00 (Migrated from github.com)
Review

I don't think this is necessary as it's created by the sql thread already.

I don't think this is necessary as it's created by the sql thread already.
PeterSurda commented 2021-03-11 15:44:08 +01:00 (Migrated from github.com)
Review

these should be class variables or constants defined elsewhere.

Also version should be 4.

these should be class variables or constants defined elsewhere. Also version should be 4.
PeterSurda commented 2021-03-14 18:10:05 +01:00 (Migrated from github.com)
Review

sqlExecute('''DROP TABLE testhash''')

`sqlExecute('''DROP TABLE testhash''')`
PeterSurda commented 2021-03-14 18:10:19 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:36 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:44 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:11:00 +01:00 (Migrated from github.com)
Review

Remove lines 20-22.

Remove lines 20-22.
PeterSurda commented 2021-03-14 18:18:08 +01:00 (Migrated from github.com)
Review

I'm not sure this (line 81) actually tests anything. Remove.

I'm not sure this (line 81) actually tests anything. Remove.
PeterSurda commented 2021-03-15 12:17:46 +01:00 (Migrated from github.com)
Review

direct update, not join

direct update, not join
pass
PeterSurda commented 2021-03-06 17:06:27 +01:00 (Migrated from github.com)
Review

bad docstring

bad docstring
PeterSurda commented 2021-03-10 09:27:32 +01:00 (Migrated from github.com)
Review

als import sql_ready

als import `sql_ready`
PeterSurda commented 2021-03-10 14:23:24 +01:00 (Migrated from github.com)
Review

test content validity, not just if an entry exists.

test content validity, not just if an entry exists.
PeterSurda commented 2021-03-10 14:24:16 +01:00 (Migrated from github.com)
Review

here also the two exceptions like in class_sqlThread

here also the two exceptions like in `class_sqlThread`
PeterSurda commented 2021-03-10 14:25:37 +01:00 (Migrated from github.com)
Review

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite
PeterSurda commented 2021-03-11 15:43:07 +01:00 (Migrated from github.com)
Review

I don't think this is necessary as it's created by the sql thread already.

I don't think this is necessary as it's created by the sql thread already.
PeterSurda commented 2021-03-11 15:44:08 +01:00 (Migrated from github.com)
Review

these should be class variables or constants defined elsewhere.

Also version should be 4.

these should be class variables or constants defined elsewhere. Also version should be 4.
PeterSurda commented 2021-03-14 18:10:05 +01:00 (Migrated from github.com)
Review

sqlExecute('''DROP TABLE testhash''')

`sqlExecute('''DROP TABLE testhash''')`
PeterSurda commented 2021-03-14 18:10:19 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:36 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:44 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:11:00 +01:00 (Migrated from github.com)
Review

Remove lines 20-22.

Remove lines 20-22.
PeterSurda commented 2021-03-14 18:18:08 +01:00 (Migrated from github.com)
Review

I'm not sure this (line 81) actually tests anything. Remove.

I'm not sure this (line 81) actually tests anything. Remove.
PeterSurda commented 2021-03-15 12:17:46 +01:00 (Migrated from github.com)
Review

direct update, not join

direct update, not join
PeterSurda commented 2021-03-06 17:06:27 +01:00 (Migrated from github.com)
Review

bad docstring

bad docstring
PeterSurda commented 2021-03-10 09:27:32 +01:00 (Migrated from github.com)
Review

als import sql_ready

als import `sql_ready`
PeterSurda commented 2021-03-10 14:23:24 +01:00 (Migrated from github.com)
Review

test content validity, not just if an entry exists.

test content validity, not just if an entry exists.
PeterSurda commented 2021-03-10 14:24:16 +01:00 (Migrated from github.com)
Review

here also the two exceptions like in class_sqlThread

here also the two exceptions like in `class_sqlThread`
PeterSurda commented 2021-03-10 14:25:37 +01:00 (Migrated from github.com)
Review

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite
PeterSurda commented 2021-03-11 15:43:07 +01:00 (Migrated from github.com)
Review

I don't think this is necessary as it's created by the sql thread already.

I don't think this is necessary as it's created by the sql thread already.
PeterSurda commented 2021-03-11 15:44:08 +01:00 (Migrated from github.com)
Review

these should be class variables or constants defined elsewhere.

Also version should be 4.

these should be class variables or constants defined elsewhere. Also version should be 4.
PeterSurda commented 2021-03-14 18:10:05 +01:00 (Migrated from github.com)
Review

sqlExecute('''DROP TABLE testhash''')

`sqlExecute('''DROP TABLE testhash''')`
PeterSurda commented 2021-03-14 18:10:19 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:36 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:44 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:11:00 +01:00 (Migrated from github.com)
Review

Remove lines 20-22.

Remove lines 20-22.
PeterSurda commented 2021-03-14 18:18:08 +01:00 (Migrated from github.com)
Review

I'm not sure this (line 81) actually tests anything. Remove.

I'm not sure this (line 81) actually tests anything. Remove.
PeterSurda commented 2021-03-15 12:17:46 +01:00 (Migrated from github.com)
Review

direct update, not join

direct update, not join
@classmethod
PeterSurda commented 2021-03-06 17:06:27 +01:00 (Migrated from github.com)
Review

bad docstring

bad docstring
PeterSurda commented 2021-03-10 09:27:32 +01:00 (Migrated from github.com)
Review

als import sql_ready

als import `sql_ready`
PeterSurda commented 2021-03-10 14:23:24 +01:00 (Migrated from github.com)
Review

test content validity, not just if an entry exists.

test content validity, not just if an entry exists.
PeterSurda commented 2021-03-10 14:24:16 +01:00 (Migrated from github.com)
Review

here also the two exceptions like in class_sqlThread

here also the two exceptions like in `class_sqlThread`
PeterSurda commented 2021-03-10 14:25:37 +01:00 (Migrated from github.com)
Review

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite
PeterSurda commented 2021-03-11 15:43:07 +01:00 (Migrated from github.com)
Review

I don't think this is necessary as it's created by the sql thread already.

I don't think this is necessary as it's created by the sql thread already.
PeterSurda commented 2021-03-11 15:44:08 +01:00 (Migrated from github.com)
Review

these should be class variables or constants defined elsewhere.

Also version should be 4.

these should be class variables or constants defined elsewhere. Also version should be 4.
PeterSurda commented 2021-03-14 18:10:05 +01:00 (Migrated from github.com)
Review

sqlExecute('''DROP TABLE testhash''')

`sqlExecute('''DROP TABLE testhash''')`
PeterSurda commented 2021-03-14 18:10:19 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:36 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:44 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:11:00 +01:00 (Migrated from github.com)
Review

Remove lines 20-22.

Remove lines 20-22.
PeterSurda commented 2021-03-14 18:18:08 +01:00 (Migrated from github.com)
Review

I'm not sure this (line 81) actually tests anything. Remove.

I'm not sure this (line 81) actually tests anything. Remove.
PeterSurda commented 2021-03-15 12:17:46 +01:00 (Migrated from github.com)
Review

direct update, not join

direct update, not join
def tearDownClass(cls):
PeterSurda commented 2021-03-06 17:06:27 +01:00 (Migrated from github.com)
Review

bad docstring

bad docstring
PeterSurda commented 2021-03-10 09:27:32 +01:00 (Migrated from github.com)
Review

als import sql_ready

als import `sql_ready`
PeterSurda commented 2021-03-10 14:23:24 +01:00 (Migrated from github.com)
Review

test content validity, not just if an entry exists.

test content validity, not just if an entry exists.
PeterSurda commented 2021-03-10 14:24:16 +01:00 (Migrated from github.com)
Review

here also the two exceptions like in class_sqlThread

here also the two exceptions like in `class_sqlThread`
PeterSurda commented 2021-03-10 14:25:37 +01:00 (Migrated from github.com)
Review

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite
PeterSurda commented 2021-03-11 15:43:07 +01:00 (Migrated from github.com)
Review

I don't think this is necessary as it's created by the sql thread already.

I don't think this is necessary as it's created by the sql thread already.
PeterSurda commented 2021-03-11 15:44:08 +01:00 (Migrated from github.com)
Review

these should be class variables or constants defined elsewhere.

Also version should be 4.

these should be class variables or constants defined elsewhere. Also version should be 4.
PeterSurda commented 2021-03-14 18:10:05 +01:00 (Migrated from github.com)
Review

sqlExecute('''DROP TABLE testhash''')

`sqlExecute('''DROP TABLE testhash''')`
PeterSurda commented 2021-03-14 18:10:19 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:36 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:44 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:11:00 +01:00 (Migrated from github.com)
Review

Remove lines 20-22.

Remove lines 20-22.
PeterSurda commented 2021-03-14 18:18:08 +01:00 (Migrated from github.com)
Review

I'm not sure this (line 81) actually tests anything. Remove.

I'm not sure this (line 81) actually tests anything. Remove.
PeterSurda commented 2021-03-15 12:17:46 +01:00 (Migrated from github.com)
Review

direct update, not join

direct update, not join
# Stop sql thread
PeterSurda commented 2021-03-06 17:06:27 +01:00 (Migrated from github.com)
Review

bad docstring

bad docstring
PeterSurda commented 2021-03-10 09:27:32 +01:00 (Migrated from github.com)
Review

als import sql_ready

als import `sql_ready`
PeterSurda commented 2021-03-10 14:23:24 +01:00 (Migrated from github.com)
Review

test content validity, not just if an entry exists.

test content validity, not just if an entry exists.
PeterSurda commented 2021-03-10 14:24:16 +01:00 (Migrated from github.com)
Review

here also the two exceptions like in class_sqlThread

here also the two exceptions like in `class_sqlThread`
PeterSurda commented 2021-03-10 14:25:37 +01:00 (Migrated from github.com)
Review

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite
PeterSurda commented 2021-03-11 15:43:07 +01:00 (Migrated from github.com)
Review

I don't think this is necessary as it's created by the sql thread already.

I don't think this is necessary as it's created by the sql thread already.
PeterSurda commented 2021-03-11 15:44:08 +01:00 (Migrated from github.com)
Review

these should be class variables or constants defined elsewhere.

Also version should be 4.

these should be class variables or constants defined elsewhere. Also version should be 4.
PeterSurda commented 2021-03-14 18:10:05 +01:00 (Migrated from github.com)
Review

sqlExecute('''DROP TABLE testhash''')

`sqlExecute('''DROP TABLE testhash''')`
PeterSurda commented 2021-03-14 18:10:19 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:36 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:44 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:11:00 +01:00 (Migrated from github.com)
Review

Remove lines 20-22.

Remove lines 20-22.
PeterSurda commented 2021-03-14 18:18:08 +01:00 (Migrated from github.com)
Review

I'm not sure this (line 81) actually tests anything. Remove.

I'm not sure this (line 81) actually tests anything. Remove.
PeterSurda commented 2021-03-15 12:17:46 +01:00 (Migrated from github.com)
Review

direct update, not join

direct update, not join
sqlStoredProcedure('exit')
PeterSurda commented 2021-03-06 17:06:27 +01:00 (Migrated from github.com)
Review

bad docstring

bad docstring
PeterSurda commented 2021-03-10 09:27:32 +01:00 (Migrated from github.com)
Review

als import sql_ready

als import `sql_ready`
PeterSurda commented 2021-03-10 14:23:24 +01:00 (Migrated from github.com)
Review

test content validity, not just if an entry exists.

test content validity, not just if an entry exists.
PeterSurda commented 2021-03-10 14:24:16 +01:00 (Migrated from github.com)
Review

here also the two exceptions like in class_sqlThread

here also the two exceptions like in `class_sqlThread`
PeterSurda commented 2021-03-10 14:25:37 +01:00 (Migrated from github.com)
Review

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite
PeterSurda commented 2021-03-11 15:43:07 +01:00 (Migrated from github.com)
Review

I don't think this is necessary as it's created by the sql thread already.

I don't think this is necessary as it's created by the sql thread already.
PeterSurda commented 2021-03-11 15:44:08 +01:00 (Migrated from github.com)
Review

these should be class variables or constants defined elsewhere.

Also version should be 4.

these should be class variables or constants defined elsewhere. Also version should be 4.
PeterSurda commented 2021-03-14 18:10:05 +01:00 (Migrated from github.com)
Review

sqlExecute('''DROP TABLE testhash''')

`sqlExecute('''DROP TABLE testhash''')`
PeterSurda commented 2021-03-14 18:10:19 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:36 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:44 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:11:00 +01:00 (Migrated from github.com)
Review

Remove lines 20-22.

Remove lines 20-22.
PeterSurda commented 2021-03-14 18:18:08 +01:00 (Migrated from github.com)
Review

I'm not sure this (line 81) actually tests anything. Remove.

I'm not sure this (line 81) actually tests anything. Remove.
PeterSurda commented 2021-03-15 12:17:46 +01:00 (Migrated from github.com)
Review

direct update, not join

direct update, not join
PeterSurda commented 2021-03-06 17:06:27 +01:00 (Migrated from github.com)
Review

bad docstring

bad docstring
PeterSurda commented 2021-03-10 09:27:32 +01:00 (Migrated from github.com)
Review

als import sql_ready

als import `sql_ready`
PeterSurda commented 2021-03-10 14:23:24 +01:00 (Migrated from github.com)
Review

test content validity, not just if an entry exists.

test content validity, not just if an entry exists.
PeterSurda commented 2021-03-10 14:24:16 +01:00 (Migrated from github.com)
Review

here also the two exceptions like in class_sqlThread

here also the two exceptions like in `class_sqlThread`
PeterSurda commented 2021-03-10 14:25:37 +01:00 (Migrated from github.com)
Review

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite
PeterSurda commented 2021-03-11 15:43:07 +01:00 (Migrated from github.com)
Review

I don't think this is necessary as it's created by the sql thread already.

I don't think this is necessary as it's created by the sql thread already.
PeterSurda commented 2021-03-11 15:44:08 +01:00 (Migrated from github.com)
Review

these should be class variables or constants defined elsewhere.

Also version should be 4.

these should be class variables or constants defined elsewhere. Also version should be 4.
PeterSurda commented 2021-03-14 18:10:05 +01:00 (Migrated from github.com)
Review

sqlExecute('''DROP TABLE testhash''')

`sqlExecute('''DROP TABLE testhash''')`
PeterSurda commented 2021-03-14 18:10:19 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:36 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:44 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:11:00 +01:00 (Migrated from github.com)
Review

Remove lines 20-22.

Remove lines 20-22.
PeterSurda commented 2021-03-14 18:18:08 +01:00 (Migrated from github.com)
Review

I'm not sure this (line 81) actually tests anything. Remove.

I'm not sure this (line 81) actually tests anything. Remove.
PeterSurda commented 2021-03-15 12:17:46 +01:00 (Migrated from github.com)
Review

direct update, not join

direct update, not join
def initialise_database(self, file):
PeterSurda commented 2021-03-06 17:06:27 +01:00 (Migrated from github.com)
Review

bad docstring

bad docstring
PeterSurda commented 2021-03-10 09:27:32 +01:00 (Migrated from github.com)
Review

als import sql_ready

als import `sql_ready`
PeterSurda commented 2021-03-10 14:23:24 +01:00 (Migrated from github.com)
Review

test content validity, not just if an entry exists.

test content validity, not just if an entry exists.
PeterSurda commented 2021-03-10 14:24:16 +01:00 (Migrated from github.com)
Review

here also the two exceptions like in class_sqlThread

here also the two exceptions like in `class_sqlThread`
PeterSurda commented 2021-03-10 14:25:37 +01:00 (Migrated from github.com)
Review

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite
PeterSurda commented 2021-03-11 15:43:07 +01:00 (Migrated from github.com)
Review

I don't think this is necessary as it's created by the sql thread already.

I don't think this is necessary as it's created by the sql thread already.
PeterSurda commented 2021-03-11 15:44:08 +01:00 (Migrated from github.com)
Review

these should be class variables or constants defined elsewhere.

Also version should be 4.

these should be class variables or constants defined elsewhere. Also version should be 4.
PeterSurda commented 2021-03-14 18:10:05 +01:00 (Migrated from github.com)
Review

sqlExecute('''DROP TABLE testhash''')

`sqlExecute('''DROP TABLE testhash''')`
PeterSurda commented 2021-03-14 18:10:19 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:36 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:44 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:11:00 +01:00 (Migrated from github.com)
Review

Remove lines 20-22.

Remove lines 20-22.
PeterSurda commented 2021-03-14 18:18:08 +01:00 (Migrated from github.com)
Review

I'm not sure this (line 81) actually tests anything. Remove.

I'm not sure this (line 81) actually tests anything. Remove.
PeterSurda commented 2021-03-15 12:17:46 +01:00 (Migrated from github.com)
Review

direct update, not join

direct update, not join
"""
PeterSurda commented 2021-03-06 17:06:27 +01:00 (Migrated from github.com)
Review

bad docstring

bad docstring
PeterSurda commented 2021-03-10 09:27:32 +01:00 (Migrated from github.com)
Review

als import sql_ready

als import `sql_ready`
PeterSurda commented 2021-03-10 14:23:24 +01:00 (Migrated from github.com)
Review

test content validity, not just if an entry exists.

test content validity, not just if an entry exists.
PeterSurda commented 2021-03-10 14:24:16 +01:00 (Migrated from github.com)
Review

here also the two exceptions like in class_sqlThread

here also the two exceptions like in `class_sqlThread`
PeterSurda commented 2021-03-10 14:25:37 +01:00 (Migrated from github.com)
Review

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite
PeterSurda commented 2021-03-11 15:43:07 +01:00 (Migrated from github.com)
Review

I don't think this is necessary as it's created by the sql thread already.

I don't think this is necessary as it's created by the sql thread already.
PeterSurda commented 2021-03-11 15:44:08 +01:00 (Migrated from github.com)
Review

these should be class variables or constants defined elsewhere.

Also version should be 4.

these should be class variables or constants defined elsewhere. Also version should be 4.
PeterSurda commented 2021-03-14 18:10:05 +01:00 (Migrated from github.com)
Review

sqlExecute('''DROP TABLE testhash''')

`sqlExecute('''DROP TABLE testhash''')`
PeterSurda commented 2021-03-14 18:10:19 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:36 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:44 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:11:00 +01:00 (Migrated from github.com)
Review

Remove lines 20-22.

Remove lines 20-22.
PeterSurda commented 2021-03-14 18:18:08 +01:00 (Migrated from github.com)
Review

I'm not sure this (line 81) actually tests anything. Remove.

I'm not sure this (line 81) actually tests anything. Remove.
PeterSurda commented 2021-03-15 12:17:46 +01:00 (Migrated from github.com)
Review

direct update, not join

direct update, not join
Initialise DB
PeterSurda commented 2021-03-06 17:06:27 +01:00 (Migrated from github.com)
Review

bad docstring

bad docstring
PeterSurda commented 2021-03-10 09:27:32 +01:00 (Migrated from github.com)
Review

als import sql_ready

als import `sql_ready`
PeterSurda commented 2021-03-10 14:23:24 +01:00 (Migrated from github.com)
Review

test content validity, not just if an entry exists.

test content validity, not just if an entry exists.
PeterSurda commented 2021-03-10 14:24:16 +01:00 (Migrated from github.com)
Review

here also the two exceptions like in class_sqlThread

here also the two exceptions like in `class_sqlThread`
PeterSurda commented 2021-03-10 14:25:37 +01:00 (Migrated from github.com)
Review

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite
PeterSurda commented 2021-03-11 15:43:07 +01:00 (Migrated from github.com)
Review

I don't think this is necessary as it's created by the sql thread already.

I don't think this is necessary as it's created by the sql thread already.
PeterSurda commented 2021-03-11 15:44:08 +01:00 (Migrated from github.com)
Review

these should be class variables or constants defined elsewhere.

Also version should be 4.

these should be class variables or constants defined elsewhere. Also version should be 4.
PeterSurda commented 2021-03-14 18:10:05 +01:00 (Migrated from github.com)
Review

sqlExecute('''DROP TABLE testhash''')

`sqlExecute('''DROP TABLE testhash''')`
PeterSurda commented 2021-03-14 18:10:19 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:36 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:44 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:11:00 +01:00 (Migrated from github.com)
Review

Remove lines 20-22.

Remove lines 20-22.
PeterSurda commented 2021-03-14 18:18:08 +01:00 (Migrated from github.com)
Review

I'm not sure this (line 81) actually tests anything. Remove.

I'm not sure this (line 81) actually tests anything. Remove.
PeterSurda commented 2021-03-15 12:17:46 +01:00 (Migrated from github.com)
Review

direct update, not join

direct update, not join
"""
PeterSurda commented 2021-03-06 17:06:27 +01:00 (Migrated from github.com)
Review

bad docstring

bad docstring
PeterSurda commented 2021-03-10 09:27:32 +01:00 (Migrated from github.com)
Review

als import sql_ready

als import `sql_ready`
PeterSurda commented 2021-03-10 14:23:24 +01:00 (Migrated from github.com)
Review

test content validity, not just if an entry exists.

test content validity, not just if an entry exists.
PeterSurda commented 2021-03-10 14:24:16 +01:00 (Migrated from github.com)
Review

here also the two exceptions like in class_sqlThread

here also the two exceptions like in `class_sqlThread`
PeterSurda commented 2021-03-10 14:25:37 +01:00 (Migrated from github.com)
Review

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite
PeterSurda commented 2021-03-11 15:43:07 +01:00 (Migrated from github.com)
Review

I don't think this is necessary as it's created by the sql thread already.

I don't think this is necessary as it's created by the sql thread already.
PeterSurda commented 2021-03-11 15:44:08 +01:00 (Migrated from github.com)
Review

these should be class variables or constants defined elsewhere.

Also version should be 4.

these should be class variables or constants defined elsewhere. Also version should be 4.
PeterSurda commented 2021-03-14 18:10:05 +01:00 (Migrated from github.com)
Review

sqlExecute('''DROP TABLE testhash''')

`sqlExecute('''DROP TABLE testhash''')`
PeterSurda commented 2021-03-14 18:10:19 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:36 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:44 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:11:00 +01:00 (Migrated from github.com)
Review

Remove lines 20-22.

Remove lines 20-22.
PeterSurda commented 2021-03-14 18:18:08 +01:00 (Migrated from github.com)
Review

I'm not sure this (line 81) actually tests anything. Remove.

I'm not sure this (line 81) actually tests anything. Remove.
PeterSurda commented 2021-03-15 12:17:46 +01:00 (Migrated from github.com)
Review

direct update, not join

direct update, not join
PeterSurda commented 2021-03-06 17:06:27 +01:00 (Migrated from github.com)
Review

bad docstring

bad docstring
PeterSurda commented 2021-03-10 09:27:32 +01:00 (Migrated from github.com)
Review

als import sql_ready

als import `sql_ready`
PeterSurda commented 2021-03-10 14:23:24 +01:00 (Migrated from github.com)
Review

test content validity, not just if an entry exists.

test content validity, not just if an entry exists.
PeterSurda commented 2021-03-10 14:24:16 +01:00 (Migrated from github.com)
Review

here also the two exceptions like in class_sqlThread

here also the two exceptions like in `class_sqlThread`
PeterSurda commented 2021-03-10 14:25:37 +01:00 (Migrated from github.com)
Review

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite
PeterSurda commented 2021-03-11 15:43:07 +01:00 (Migrated from github.com)
Review

I don't think this is necessary as it's created by the sql thread already.

I don't think this is necessary as it's created by the sql thread already.
PeterSurda commented 2021-03-11 15:44:08 +01:00 (Migrated from github.com)
Review

these should be class variables or constants defined elsewhere.

Also version should be 4.

these should be class variables or constants defined elsewhere. Also version should be 4.
PeterSurda commented 2021-03-14 18:10:05 +01:00 (Migrated from github.com)
Review

sqlExecute('''DROP TABLE testhash''')

`sqlExecute('''DROP TABLE testhash''')`
PeterSurda commented 2021-03-14 18:10:19 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:36 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:44 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:11:00 +01:00 (Migrated from github.com)
Review

Remove lines 20-22.

Remove lines 20-22.
PeterSurda commented 2021-03-14 18:18:08 +01:00 (Migrated from github.com)
Review

I'm not sure this (line 81) actually tests anything. Remove.

I'm not sure this (line 81) actually tests anything. Remove.
PeterSurda commented 2021-03-15 12:17:46 +01:00 (Migrated from github.com)
Review

direct update, not join

direct update, not join
sql_as_string = open(os.path.join(self.root_path, "tests/sql/{}.sql".format(file))).read()
PeterSurda commented 2021-03-06 17:06:27 +01:00 (Migrated from github.com)
Review

bad docstring

bad docstring
PeterSurda commented 2021-03-10 09:27:32 +01:00 (Migrated from github.com)
Review

als import sql_ready

als import `sql_ready`
PeterSurda commented 2021-03-10 14:23:24 +01:00 (Migrated from github.com)
Review

test content validity, not just if an entry exists.

test content validity, not just if an entry exists.
PeterSurda commented 2021-03-10 14:24:16 +01:00 (Migrated from github.com)
Review

here also the two exceptions like in class_sqlThread

here also the two exceptions like in `class_sqlThread`
PeterSurda commented 2021-03-10 14:25:37 +01:00 (Migrated from github.com)
Review

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite
PeterSurda commented 2021-03-11 15:43:07 +01:00 (Migrated from github.com)
Review

I don't think this is necessary as it's created by the sql thread already.

I don't think this is necessary as it's created by the sql thread already.
PeterSurda commented 2021-03-11 15:44:08 +01:00 (Migrated from github.com)
Review

these should be class variables or constants defined elsewhere.

Also version should be 4.

these should be class variables or constants defined elsewhere. Also version should be 4.
PeterSurda commented 2021-03-14 18:10:05 +01:00 (Migrated from github.com)
Review

sqlExecute('''DROP TABLE testhash''')

`sqlExecute('''DROP TABLE testhash''')`
PeterSurda commented 2021-03-14 18:10:19 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:36 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:44 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:11:00 +01:00 (Migrated from github.com)
Review

Remove lines 20-22.

Remove lines 20-22.
PeterSurda commented 2021-03-14 18:18:08 +01:00 (Migrated from github.com)
Review

I'm not sure this (line 81) actually tests anything. Remove.

I'm not sure this (line 81) actually tests anything. Remove.
PeterSurda commented 2021-03-15 12:17:46 +01:00 (Migrated from github.com)
Review

direct update, not join

direct update, not join
sqlExecuteScript(sql_as_string)
PeterSurda commented 2021-03-06 17:06:27 +01:00 (Migrated from github.com)
Review

bad docstring

bad docstring
PeterSurda commented 2021-03-10 09:27:32 +01:00 (Migrated from github.com)
Review

als import sql_ready

als import `sql_ready`
PeterSurda commented 2021-03-10 14:23:24 +01:00 (Migrated from github.com)
Review

test content validity, not just if an entry exists.

test content validity, not just if an entry exists.
PeterSurda commented 2021-03-10 14:24:16 +01:00 (Migrated from github.com)
Review

here also the two exceptions like in class_sqlThread

here also the two exceptions like in `class_sqlThread`
PeterSurda commented 2021-03-10 14:25:37 +01:00 (Migrated from github.com)
Review

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite
PeterSurda commented 2021-03-11 15:43:07 +01:00 (Migrated from github.com)
Review

I don't think this is necessary as it's created by the sql thread already.

I don't think this is necessary as it's created by the sql thread already.
PeterSurda commented 2021-03-11 15:44:08 +01:00 (Migrated from github.com)
Review

these should be class variables or constants defined elsewhere.

Also version should be 4.

these should be class variables or constants defined elsewhere. Also version should be 4.
PeterSurda commented 2021-03-14 18:10:05 +01:00 (Migrated from github.com)
Review

sqlExecute('''DROP TABLE testhash''')

`sqlExecute('''DROP TABLE testhash''')`
PeterSurda commented 2021-03-14 18:10:19 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:36 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:44 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:11:00 +01:00 (Migrated from github.com)
Review

Remove lines 20-22.

Remove lines 20-22.
PeterSurda commented 2021-03-14 18:18:08 +01:00 (Migrated from github.com)
Review

I'm not sure this (line 81) actually tests anything. Remove.

I'm not sure this (line 81) actually tests anything. Remove.
PeterSurda commented 2021-03-15 12:17:46 +01:00 (Migrated from github.com)
Review

direct update, not join

direct update, not join
PeterSurda commented 2021-03-06 17:06:27 +01:00 (Migrated from github.com)
Review

bad docstring

bad docstring
PeterSurda commented 2021-03-10 09:27:32 +01:00 (Migrated from github.com)
Review

als import sql_ready

als import `sql_ready`
PeterSurda commented 2021-03-10 14:23:24 +01:00 (Migrated from github.com)
Review

test content validity, not just if an entry exists.

test content validity, not just if an entry exists.
PeterSurda commented 2021-03-10 14:24:16 +01:00 (Migrated from github.com)
Review

here also the two exceptions like in class_sqlThread

here also the two exceptions like in `class_sqlThread`
PeterSurda commented 2021-03-10 14:25:37 +01:00 (Migrated from github.com)
Review

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite
PeterSurda commented 2021-03-11 15:43:07 +01:00 (Migrated from github.com)
Review

I don't think this is necessary as it's created by the sql thread already.

I don't think this is necessary as it's created by the sql thread already.
PeterSurda commented 2021-03-11 15:44:08 +01:00 (Migrated from github.com)
Review

these should be class variables or constants defined elsewhere.

Also version should be 4.

these should be class variables or constants defined elsewhere. Also version should be 4.
PeterSurda commented 2021-03-14 18:10:05 +01:00 (Migrated from github.com)
Review

sqlExecute('''DROP TABLE testhash''')

`sqlExecute('''DROP TABLE testhash''')`
PeterSurda commented 2021-03-14 18:10:19 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:36 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:44 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:11:00 +01:00 (Migrated from github.com)
Review

Remove lines 20-22.

Remove lines 20-22.
PeterSurda commented 2021-03-14 18:18:08 +01:00 (Migrated from github.com)
Review

I'm not sure this (line 81) actually tests anything. Remove.

I'm not sure this (line 81) actually tests anything. Remove.
PeterSurda commented 2021-03-15 12:17:46 +01:00 (Migrated from github.com)
Review

direct update, not join

direct update, not join
PeterSurda commented 2021-03-06 17:06:27 +01:00 (Migrated from github.com)
Review

bad docstring

bad docstring
PeterSurda commented 2021-03-10 09:27:32 +01:00 (Migrated from github.com)
Review

als import sql_ready

als import `sql_ready`
PeterSurda commented 2021-03-10 14:23:24 +01:00 (Migrated from github.com)
Review

test content validity, not just if an entry exists.

test content validity, not just if an entry exists.
PeterSurda commented 2021-03-10 14:24:16 +01:00 (Migrated from github.com)
Review

here also the two exceptions like in class_sqlThread

here also the two exceptions like in `class_sqlThread`
PeterSurda commented 2021-03-10 14:25:37 +01:00 (Migrated from github.com)
Review

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite
PeterSurda commented 2021-03-11 15:43:07 +01:00 (Migrated from github.com)
Review

I don't think this is necessary as it's created by the sql thread already.

I don't think this is necessary as it's created by the sql thread already.
PeterSurda commented 2021-03-11 15:44:08 +01:00 (Migrated from github.com)
Review

these should be class variables or constants defined elsewhere.

Also version should be 4.

these should be class variables or constants defined elsewhere. Also version should be 4.
PeterSurda commented 2021-03-14 18:10:05 +01:00 (Migrated from github.com)
Review

sqlExecute('''DROP TABLE testhash''')

`sqlExecute('''DROP TABLE testhash''')`
PeterSurda commented 2021-03-14 18:10:19 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:36 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:44 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:11:00 +01:00 (Migrated from github.com)
Review

Remove lines 20-22.

Remove lines 20-22.
PeterSurda commented 2021-03-14 18:18:08 +01:00 (Migrated from github.com)
Review

I'm not sure this (line 81) actually tests anything. Remove.

I'm not sure this (line 81) actually tests anything. Remove.
PeterSurda commented 2021-03-15 12:17:46 +01:00 (Migrated from github.com)
Review

direct update, not join

direct update, not join
def test_create_function(self):
PeterSurda commented 2021-03-06 17:06:27 +01:00 (Migrated from github.com)
Review

bad docstring

bad docstring
PeterSurda commented 2021-03-10 09:27:32 +01:00 (Migrated from github.com)
Review

als import sql_ready

als import `sql_ready`
PeterSurda commented 2021-03-10 14:23:24 +01:00 (Migrated from github.com)
Review

test content validity, not just if an entry exists.

test content validity, not just if an entry exists.
PeterSurda commented 2021-03-10 14:24:16 +01:00 (Migrated from github.com)
Review

here also the two exceptions like in class_sqlThread

here also the two exceptions like in `class_sqlThread`
PeterSurda commented 2021-03-10 14:25:06 +01:00 (Migrated from github.com)
Review

there should be a separate method for creating, and it should be either in helper_sql or in class_sqlThread. Here it should only test whether it works, not create the function again

there should be a separate method for creating, and it should be either in `helper_sql` or in `class_sqlThread`. Here it should only test whether it works, not create the function again
PeterSurda commented 2021-03-10 14:25:37 +01:00 (Migrated from github.com)
Review

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite
PeterSurda commented 2021-03-11 15:43:07 +01:00 (Migrated from github.com)
Review

I don't think this is necessary as it's created by the sql thread already.

I don't think this is necessary as it's created by the sql thread already.
PeterSurda commented 2021-03-11 15:44:08 +01:00 (Migrated from github.com)
Review

these should be class variables or constants defined elsewhere.

Also version should be 4.

these should be class variables or constants defined elsewhere. Also version should be 4.
PeterSurda commented 2021-03-14 18:10:05 +01:00 (Migrated from github.com)
Review

sqlExecute('''DROP TABLE testhash''')

`sqlExecute('''DROP TABLE testhash''')`
PeterSurda commented 2021-03-14 18:10:19 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:36 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:44 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:11:00 +01:00 (Migrated from github.com)
Review

Remove lines 20-22.

Remove lines 20-22.
PeterSurda commented 2021-03-14 18:18:08 +01:00 (Migrated from github.com)
Review

I'm not sure this (line 81) actually tests anything. Remove.

I'm not sure this (line 81) actually tests anything. Remove.
PeterSurda commented 2021-03-15 12:17:46 +01:00 (Migrated from github.com)
Review

direct update, not join

direct update, not join
# call create function
PeterSurda commented 2021-03-06 17:06:27 +01:00 (Migrated from github.com)
Review

bad docstring

bad docstring
PeterSurda commented 2021-03-10 09:27:32 +01:00 (Migrated from github.com)
Review

als import sql_ready

als import `sql_ready`
PeterSurda commented 2021-03-10 14:23:24 +01:00 (Migrated from github.com)
Review

test content validity, not just if an entry exists.

test content validity, not just if an entry exists.
PeterSurda commented 2021-03-10 14:24:16 +01:00 (Migrated from github.com)
Review

here also the two exceptions like in class_sqlThread

here also the two exceptions like in `class_sqlThread`
PeterSurda commented 2021-03-10 14:25:37 +01:00 (Migrated from github.com)
Review

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite
PeterSurda commented 2021-03-11 15:43:07 +01:00 (Migrated from github.com)
Review

I don't think this is necessary as it's created by the sql thread already.

I don't think this is necessary as it's created by the sql thread already.
PeterSurda commented 2021-03-11 15:44:08 +01:00 (Migrated from github.com)
Review

these should be class variables or constants defined elsewhere.

Also version should be 4.

these should be class variables or constants defined elsewhere. Also version should be 4.
PeterSurda commented 2021-03-14 18:10:05 +01:00 (Migrated from github.com)
Review

sqlExecute('''DROP TABLE testhash''')

`sqlExecute('''DROP TABLE testhash''')`
PeterSurda commented 2021-03-14 18:10:19 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:36 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:44 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:11:00 +01:00 (Migrated from github.com)
Review

Remove lines 20-22.

Remove lines 20-22.
PeterSurda commented 2021-03-14 18:18:08 +01:00 (Migrated from github.com)
Review

I'm not sure this (line 81) actually tests anything. Remove.

I'm not sure this (line 81) actually tests anything. Remove.
PeterSurda commented 2021-03-15 12:17:46 +01:00 (Migrated from github.com)
Review

direct update, not join

direct update, not join
PeterSurda commented 2021-03-06 17:06:27 +01:00 (Migrated from github.com)
Review

bad docstring

bad docstring
PeterSurda commented 2021-03-10 09:27:32 +01:00 (Migrated from github.com)
Review

als import sql_ready

als import `sql_ready`
PeterSurda commented 2021-03-10 14:23:24 +01:00 (Migrated from github.com)
Review

test content validity, not just if an entry exists.

test content validity, not just if an entry exists.
PeterSurda commented 2021-03-10 14:24:16 +01:00 (Migrated from github.com)
Review

here also the two exceptions like in class_sqlThread

here also the two exceptions like in `class_sqlThread`
PeterSurda commented 2021-03-10 14:25:37 +01:00 (Migrated from github.com)
Review

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite
PeterSurda commented 2021-03-11 15:43:07 +01:00 (Migrated from github.com)
Review

I don't think this is necessary as it's created by the sql thread already.

I don't think this is necessary as it's created by the sql thread already.
PeterSurda commented 2021-03-11 15:44:08 +01:00 (Migrated from github.com)
Review

these should be class variables or constants defined elsewhere.

Also version should be 4.

these should be class variables or constants defined elsewhere. Also version should be 4.
PeterSurda commented 2021-03-14 18:10:05 +01:00 (Migrated from github.com)
Review

sqlExecute('''DROP TABLE testhash''')

`sqlExecute('''DROP TABLE testhash''')`
PeterSurda commented 2021-03-14 18:10:19 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:36 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:44 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:11:00 +01:00 (Migrated from github.com)
Review

Remove lines 20-22.

Remove lines 20-22.
PeterSurda commented 2021-03-14 18:18:08 +01:00 (Migrated from github.com)
Review

I'm not sure this (line 81) actually tests anything. Remove.

I'm not sure this (line 81) actually tests anything. Remove.
PeterSurda commented 2021-03-15 12:17:46 +01:00 (Migrated from github.com)
Review

direct update, not join

direct update, not join
encoded_str = encodeAddress(4, 1, "21122112211221122112")
PeterSurda commented 2021-03-06 17:06:27 +01:00 (Migrated from github.com)
Review

bad docstring

bad docstring
PeterSurda commented 2021-03-10 09:27:32 +01:00 (Migrated from github.com)
Review

als import sql_ready

als import `sql_ready`
PeterSurda commented 2021-03-10 14:23:24 +01:00 (Migrated from github.com)
Review

test content validity, not just if an entry exists.

test content validity, not just if an entry exists.
PeterSurda commented 2021-03-10 14:24:16 +01:00 (Migrated from github.com)
Review

here also the two exceptions like in class_sqlThread

here also the two exceptions like in `class_sqlThread`
PeterSurda commented 2021-03-10 14:25:37 +01:00 (Migrated from github.com)
Review

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite
PeterSurda commented 2021-03-11 15:43:07 +01:00 (Migrated from github.com)
Review

I don't think this is necessary as it's created by the sql thread already.

I don't think this is necessary as it's created by the sql thread already.
PeterSurda commented 2021-03-11 15:44:08 +01:00 (Migrated from github.com)
Review

these should be class variables or constants defined elsewhere.

Also version should be 4.

these should be class variables or constants defined elsewhere. Also version should be 4.
PeterSurda commented 2021-03-14 18:10:05 +01:00 (Migrated from github.com)
Review

sqlExecute('''DROP TABLE testhash''')

`sqlExecute('''DROP TABLE testhash''')`
PeterSurda commented 2021-03-14 18:10:19 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:36 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:44 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:11:00 +01:00 (Migrated from github.com)
Review

Remove lines 20-22.

Remove lines 20-22.
PeterSurda commented 2021-03-14 18:18:08 +01:00 (Migrated from github.com)
Review

I'm not sure this (line 81) actually tests anything. Remove.

I'm not sure this (line 81) actually tests anything. Remove.
PeterSurda commented 2021-03-15 12:17:46 +01:00 (Migrated from github.com)
Review

direct update, not join

direct update, not join
PeterSurda commented 2021-03-06 17:06:27 +01:00 (Migrated from github.com)
Review

bad docstring

bad docstring
PeterSurda commented 2021-03-10 09:27:32 +01:00 (Migrated from github.com)
Review

als import sql_ready

als import `sql_ready`
PeterSurda commented 2021-03-10 14:23:24 +01:00 (Migrated from github.com)
Review

test content validity, not just if an entry exists.

test content validity, not just if an entry exists.
PeterSurda commented 2021-03-10 14:24:16 +01:00 (Migrated from github.com)
Review

here also the two exceptions like in class_sqlThread

here also the two exceptions like in `class_sqlThread`
PeterSurda commented 2021-03-10 14:25:37 +01:00 (Migrated from github.com)
Review

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite
PeterSurda commented 2021-03-11 15:43:07 +01:00 (Migrated from github.com)
Review

I don't think this is necessary as it's created by the sql thread already.

I don't think this is necessary as it's created by the sql thread already.
PeterSurda commented 2021-03-11 15:44:08 +01:00 (Migrated from github.com)
Review

these should be class variables or constants defined elsewhere.

Also version should be 4.

these should be class variables or constants defined elsewhere. Also version should be 4.
PeterSurda commented 2021-03-14 18:10:05 +01:00 (Migrated from github.com)
Review

sqlExecute('''DROP TABLE testhash''')

`sqlExecute('''DROP TABLE testhash''')`
PeterSurda commented 2021-03-14 18:10:19 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:36 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:44 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:11:00 +01:00 (Migrated from github.com)
Review

Remove lines 20-22.

Remove lines 20-22.
PeterSurda commented 2021-03-14 18:18:08 +01:00 (Migrated from github.com)
Review

I'm not sure this (line 81) actually tests anything. Remove.

I'm not sure this (line 81) actually tests anything. Remove.
PeterSurda commented 2021-03-15 12:17:46 +01:00 (Migrated from github.com)
Review

direct update, not join

direct update, not join
# Initialise Database
PeterSurda commented 2021-03-06 17:06:27 +01:00 (Migrated from github.com)
Review

bad docstring

bad docstring
PeterSurda commented 2021-03-10 09:27:32 +01:00 (Migrated from github.com)
Review

als import sql_ready

als import `sql_ready`
PeterSurda commented 2021-03-10 14:23:24 +01:00 (Migrated from github.com)
Review

test content validity, not just if an entry exists.

test content validity, not just if an entry exists.
PeterSurda commented 2021-03-10 14:24:16 +01:00 (Migrated from github.com)
Review

here also the two exceptions like in class_sqlThread

here also the two exceptions like in `class_sqlThread`
PeterSurda commented 2021-03-10 14:25:37 +01:00 (Migrated from github.com)
Review

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite
PeterSurda commented 2021-03-11 15:43:07 +01:00 (Migrated from github.com)
Review

I don't think this is necessary as it's created by the sql thread already.

I don't think this is necessary as it's created by the sql thread already.
PeterSurda commented 2021-03-11 15:44:08 +01:00 (Migrated from github.com)
Review

these should be class variables or constants defined elsewhere.

Also version should be 4.

these should be class variables or constants defined elsewhere. Also version should be 4.
PeterSurda commented 2021-03-14 18:10:05 +01:00 (Migrated from github.com)
Review

sqlExecute('''DROP TABLE testhash''')

`sqlExecute('''DROP TABLE testhash''')`
PeterSurda commented 2021-03-14 18:10:19 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:36 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:44 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:11:00 +01:00 (Migrated from github.com)
Review

Remove lines 20-22.

Remove lines 20-22.
PeterSurda commented 2021-03-14 18:18:08 +01:00 (Migrated from github.com)
Review

I'm not sure this (line 81) actually tests anything. Remove.

I'm not sure this (line 81) actually tests anything. Remove.
PeterSurda commented 2021-03-15 12:17:46 +01:00 (Migrated from github.com)
Review

direct update, not join

direct update, not join
self.initialise_database("create_function")
PeterSurda commented 2021-03-06 17:06:27 +01:00 (Migrated from github.com)
Review

bad docstring

bad docstring
PeterSurda commented 2021-03-10 09:27:32 +01:00 (Migrated from github.com)
Review

als import sql_ready

als import `sql_ready`
PeterSurda commented 2021-03-10 14:23:24 +01:00 (Migrated from github.com)
Review

test content validity, not just if an entry exists.

test content validity, not just if an entry exists.
PeterSurda commented 2021-03-10 14:24:16 +01:00 (Migrated from github.com)
Review

here also the two exceptions like in class_sqlThread

here also the two exceptions like in `class_sqlThread`
PeterSurda commented 2021-03-10 14:25:37 +01:00 (Migrated from github.com)
Review

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite
PeterSurda commented 2021-03-11 15:43:07 +01:00 (Migrated from github.com)
Review

I don't think this is necessary as it's created by the sql thread already.

I don't think this is necessary as it's created by the sql thread already.
PeterSurda commented 2021-03-11 15:44:08 +01:00 (Migrated from github.com)
Review

these should be class variables or constants defined elsewhere.

Also version should be 4.

these should be class variables or constants defined elsewhere. Also version should be 4.
PeterSurda commented 2021-03-14 18:10:05 +01:00 (Migrated from github.com)
Review

sqlExecute('''DROP TABLE testhash''')

`sqlExecute('''DROP TABLE testhash''')`
PeterSurda commented 2021-03-14 18:10:19 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:36 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:44 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:11:00 +01:00 (Migrated from github.com)
Review

Remove lines 20-22.

Remove lines 20-22.
PeterSurda commented 2021-03-14 18:18:08 +01:00 (Migrated from github.com)
Review

I'm not sure this (line 81) actually tests anything. Remove.

I'm not sure this (line 81) actually tests anything. Remove.
PeterSurda commented 2021-03-15 12:17:46 +01:00 (Migrated from github.com)
Review

direct update, not join

direct update, not join
PeterSurda commented 2021-03-06 17:06:27 +01:00 (Migrated from github.com)
Review

bad docstring

bad docstring
PeterSurda commented 2021-03-10 09:27:32 +01:00 (Migrated from github.com)
Review

als import sql_ready

als import `sql_ready`
PeterSurda commented 2021-03-10 14:23:24 +01:00 (Migrated from github.com)
Review

test content validity, not just if an entry exists.

test content validity, not just if an entry exists.
PeterSurda commented 2021-03-10 14:24:16 +01:00 (Migrated from github.com)
Review

here also the two exceptions like in class_sqlThread

here also the two exceptions like in `class_sqlThread`
PeterSurda commented 2021-03-10 14:25:37 +01:00 (Migrated from github.com)
Review

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite
PeterSurda commented 2021-03-11 15:43:07 +01:00 (Migrated from github.com)
Review

I don't think this is necessary as it's created by the sql thread already.

I don't think this is necessary as it's created by the sql thread already.
PeterSurda commented 2021-03-11 15:44:08 +01:00 (Migrated from github.com)
Review

these should be class variables or constants defined elsewhere.

Also version should be 4.

these should be class variables or constants defined elsewhere. Also version should be 4.
PeterSurda commented 2021-03-14 18:10:05 +01:00 (Migrated from github.com)
Review

sqlExecute('''DROP TABLE testhash''')

`sqlExecute('''DROP TABLE testhash''')`
PeterSurda commented 2021-03-14 18:10:19 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:36 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:44 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:11:00 +01:00 (Migrated from github.com)
Review

Remove lines 20-22.

Remove lines 20-22.
PeterSurda commented 2021-03-14 18:18:08 +01:00 (Migrated from github.com)
Review

I'm not sure this (line 81) actually tests anything. Remove.

I'm not sure this (line 81) actually tests anything. Remove.
PeterSurda commented 2021-03-15 12:17:46 +01:00 (Migrated from github.com)
Review

direct update, not join

direct update, not join
sqlExecute('''INSERT INTO testhash (addressversion, hash) VALUES(4, "21122112211221122112")''')
PeterSurda commented 2021-03-06 17:06:27 +01:00 (Migrated from github.com)
Review

bad docstring

bad docstring
PeterSurda commented 2021-03-10 09:27:32 +01:00 (Migrated from github.com)
Review

als import sql_ready

als import `sql_ready`
PeterSurda commented 2021-03-10 14:23:24 +01:00 (Migrated from github.com)
Review

test content validity, not just if an entry exists.

test content validity, not just if an entry exists.
PeterSurda commented 2021-03-10 14:24:16 +01:00 (Migrated from github.com)
Review

here also the two exceptions like in class_sqlThread

here also the two exceptions like in `class_sqlThread`
PeterSurda commented 2021-03-10 14:25:37 +01:00 (Migrated from github.com)
Review

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite
PeterSurda commented 2021-03-11 15:43:07 +01:00 (Migrated from github.com)
Review

I don't think this is necessary as it's created by the sql thread already.

I don't think this is necessary as it's created by the sql thread already.
PeterSurda commented 2021-03-11 15:44:08 +01:00 (Migrated from github.com)
Review

these should be class variables or constants defined elsewhere.

Also version should be 4.

these should be class variables or constants defined elsewhere. Also version should be 4.
PeterSurda commented 2021-03-14 18:10:05 +01:00 (Migrated from github.com)
Review

sqlExecute('''DROP TABLE testhash''')

`sqlExecute('''DROP TABLE testhash''')`
PeterSurda commented 2021-03-14 18:10:19 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:36 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:44 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:11:00 +01:00 (Migrated from github.com)
Review

Remove lines 20-22.

Remove lines 20-22.
PeterSurda commented 2021-03-14 18:18:08 +01:00 (Migrated from github.com)
Review

I'm not sure this (line 81) actually tests anything. Remove.

I'm not sure this (line 81) actually tests anything. Remove.
PeterSurda commented 2021-03-15 12:17:46 +01:00 (Migrated from github.com)
Review

direct update, not join

direct update, not join
# call function in query
PeterSurda commented 2021-03-06 17:06:27 +01:00 (Migrated from github.com)
Review

bad docstring

bad docstring
PeterSurda commented 2021-03-10 09:27:32 +01:00 (Migrated from github.com)
Review

als import sql_ready

als import `sql_ready`
PeterSurda commented 2021-03-10 14:23:24 +01:00 (Migrated from github.com)
Review

test content validity, not just if an entry exists.

test content validity, not just if an entry exists.
PeterSurda commented 2021-03-10 14:24:16 +01:00 (Migrated from github.com)
Review

here also the two exceptions like in class_sqlThread

here also the two exceptions like in `class_sqlThread`
PeterSurda commented 2021-03-10 14:25:37 +01:00 (Migrated from github.com)
Review

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite
PeterSurda commented 2021-03-11 15:43:07 +01:00 (Migrated from github.com)
Review

I don't think this is necessary as it's created by the sql thread already.

I don't think this is necessary as it's created by the sql thread already.
PeterSurda commented 2021-03-11 15:44:08 +01:00 (Migrated from github.com)
Review

these should be class variables or constants defined elsewhere.

Also version should be 4.

these should be class variables or constants defined elsewhere. Also version should be 4.
PeterSurda commented 2021-03-14 18:10:05 +01:00 (Migrated from github.com)
Review

sqlExecute('''DROP TABLE testhash''')

`sqlExecute('''DROP TABLE testhash''')`
PeterSurda commented 2021-03-14 18:10:19 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:36 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:44 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:11:00 +01:00 (Migrated from github.com)
Review

Remove lines 20-22.

Remove lines 20-22.
PeterSurda commented 2021-03-14 18:18:08 +01:00 (Migrated from github.com)
Review

I'm not sure this (line 81) actually tests anything. Remove.

I'm not sure this (line 81) actually tests anything. Remove.
PeterSurda commented 2021-03-15 12:17:46 +01:00 (Migrated from github.com)
Review

direct update, not join

direct update, not join
PeterSurda commented 2021-03-06 17:06:27 +01:00 (Migrated from github.com)
Review

bad docstring

bad docstring
PeterSurda commented 2021-03-10 09:27:32 +01:00 (Migrated from github.com)
Review

als import sql_ready

als import `sql_ready`
PeterSurda commented 2021-03-10 14:23:24 +01:00 (Migrated from github.com)
Review

test content validity, not just if an entry exists.

test content validity, not just if an entry exists.
PeterSurda commented 2021-03-10 14:24:16 +01:00 (Migrated from github.com)
Review

here also the two exceptions like in class_sqlThread

here also the two exceptions like in `class_sqlThread`
PeterSurda commented 2021-03-10 14:25:37 +01:00 (Migrated from github.com)
Review

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite
PeterSurda commented 2021-03-11 15:43:07 +01:00 (Migrated from github.com)
Review

I don't think this is necessary as it's created by the sql thread already.

I don't think this is necessary as it's created by the sql thread already.
PeterSurda commented 2021-03-11 15:44:08 +01:00 (Migrated from github.com)
Review

these should be class variables or constants defined elsewhere.

Also version should be 4.

these should be class variables or constants defined elsewhere. Also version should be 4.
PeterSurda commented 2021-03-14 18:10:05 +01:00 (Migrated from github.com)
Review

sqlExecute('''DROP TABLE testhash''')

`sqlExecute('''DROP TABLE testhash''')`
PeterSurda commented 2021-03-14 18:10:19 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:36 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:44 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:11:00 +01:00 (Migrated from github.com)
Review

Remove lines 20-22.

Remove lines 20-22.
PeterSurda commented 2021-03-14 18:18:08 +01:00 (Migrated from github.com)
Review

I'm not sure this (line 81) actually tests anything. Remove.

I'm not sure this (line 81) actually tests anything. Remove.
PeterSurda commented 2021-03-15 12:17:46 +01:00 (Migrated from github.com)
Review

direct update, not join

direct update, not join
sqlExecute('''UPDATE testhash SET address=(enaddr(testhash.addressversion, 1, hash)) WHERE hash=testhash.hash''')
PeterSurda commented 2021-03-06 17:06:27 +01:00 (Migrated from github.com)
Review

bad docstring

bad docstring
PeterSurda commented 2021-03-10 09:27:32 +01:00 (Migrated from github.com)
Review

als import sql_ready

als import `sql_ready`
PeterSurda commented 2021-03-10 14:23:24 +01:00 (Migrated from github.com)
Review

test content validity, not just if an entry exists.

test content validity, not just if an entry exists.
PeterSurda commented 2021-03-10 14:24:16 +01:00 (Migrated from github.com)
Review

here also the two exceptions like in class_sqlThread

here also the two exceptions like in `class_sqlThread`
PeterSurda commented 2021-03-10 14:25:37 +01:00 (Migrated from github.com)
Review

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite
PeterSurda commented 2021-03-11 15:43:07 +01:00 (Migrated from github.com)
Review

I don't think this is necessary as it's created by the sql thread already.

I don't think this is necessary as it's created by the sql thread already.
PeterSurda commented 2021-03-11 15:44:08 +01:00 (Migrated from github.com)
Review

these should be class variables or constants defined elsewhere.

Also version should be 4.

these should be class variables or constants defined elsewhere. Also version should be 4.
PeterSurda commented 2021-03-14 18:10:05 +01:00 (Migrated from github.com)
Review

sqlExecute('''DROP TABLE testhash''')

`sqlExecute('''DROP TABLE testhash''')`
PeterSurda commented 2021-03-14 18:10:19 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:36 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:44 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:11:00 +01:00 (Migrated from github.com)
Review

Remove lines 20-22.

Remove lines 20-22.
PeterSurda commented 2021-03-14 18:18:08 +01:00 (Migrated from github.com)
Review

I'm not sure this (line 81) actually tests anything. Remove.

I'm not sure this (line 81) actually tests anything. Remove.
PeterSurda commented 2021-03-15 12:17:46 +01:00 (Migrated from github.com)
Review

direct update, not join

direct update, not join
PeterSurda commented 2021-03-06 17:06:27 +01:00 (Migrated from github.com)
Review

bad docstring

bad docstring
PeterSurda commented 2021-03-10 09:27:32 +01:00 (Migrated from github.com)
Review

als import sql_ready

als import `sql_ready`
PeterSurda commented 2021-03-10 14:23:24 +01:00 (Migrated from github.com)
Review

test content validity, not just if an entry exists.

test content validity, not just if an entry exists.
PeterSurda commented 2021-03-10 14:24:16 +01:00 (Migrated from github.com)
Review

here also the two exceptions like in class_sqlThread

here also the two exceptions like in `class_sqlThread`
PeterSurda commented 2021-03-10 14:25:37 +01:00 (Migrated from github.com)
Review

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite
PeterSurda commented 2021-03-11 15:43:07 +01:00 (Migrated from github.com)
Review

I don't think this is necessary as it's created by the sql thread already.

I don't think this is necessary as it's created by the sql thread already.
PeterSurda commented 2021-03-11 15:44:08 +01:00 (Migrated from github.com)
Review

these should be class variables or constants defined elsewhere.

Also version should be 4.

these should be class variables or constants defined elsewhere. Also version should be 4.
PeterSurda commented 2021-03-14 18:10:05 +01:00 (Migrated from github.com)
Review

sqlExecute('''DROP TABLE testhash''')

`sqlExecute('''DROP TABLE testhash''')`
PeterSurda commented 2021-03-14 18:10:19 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:36 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:44 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:11:00 +01:00 (Migrated from github.com)
Review

Remove lines 20-22.

Remove lines 20-22.
PeterSurda commented 2021-03-14 18:18:08 +01:00 (Migrated from github.com)
Review

I'm not sure this (line 81) actually tests anything. Remove.

I'm not sure this (line 81) actually tests anything. Remove.
PeterSurda commented 2021-03-15 12:17:46 +01:00 (Migrated from github.com)
Review

direct update, not join

direct update, not join
# Assertion
PeterSurda commented 2021-03-06 17:06:27 +01:00 (Migrated from github.com)
Review

bad docstring

bad docstring
PeterSurda commented 2021-03-10 09:27:32 +01:00 (Migrated from github.com)
Review

als import sql_ready

als import `sql_ready`
PeterSurda commented 2021-03-10 14:23:24 +01:00 (Migrated from github.com)
Review

test content validity, not just if an entry exists.

test content validity, not just if an entry exists.
PeterSurda commented 2021-03-10 14:24:16 +01:00 (Migrated from github.com)
Review

here also the two exceptions like in class_sqlThread

here also the two exceptions like in `class_sqlThread`
PeterSurda commented 2021-03-10 14:25:37 +01:00 (Migrated from github.com)
Review

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite
PeterSurda commented 2021-03-11 15:43:07 +01:00 (Migrated from github.com)
Review

I don't think this is necessary as it's created by the sql thread already.

I don't think this is necessary as it's created by the sql thread already.
PeterSurda commented 2021-03-11 15:44:08 +01:00 (Migrated from github.com)
Review

these should be class variables or constants defined elsewhere.

Also version should be 4.

these should be class variables or constants defined elsewhere. Also version should be 4.
PeterSurda commented 2021-03-14 18:10:05 +01:00 (Migrated from github.com)
Review

sqlExecute('''DROP TABLE testhash''')

`sqlExecute('''DROP TABLE testhash''')`
PeterSurda commented 2021-03-14 18:10:19 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:36 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:44 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:11:00 +01:00 (Migrated from github.com)
Review

Remove lines 20-22.

Remove lines 20-22.
PeterSurda commented 2021-03-14 18:18:08 +01:00 (Migrated from github.com)
Review

I'm not sure this (line 81) actually tests anything. Remove.

I'm not sure this (line 81) actually tests anything. Remove.
PeterSurda commented 2021-03-15 12:17:46 +01:00 (Migrated from github.com)
Review

direct update, not join

direct update, not join
query = sqlQuery('''select * from testhash;''')
PeterSurda commented 2021-03-06 17:06:27 +01:00 (Migrated from github.com)
Review

bad docstring

bad docstring
PeterSurda commented 2021-03-10 09:27:32 +01:00 (Migrated from github.com)
Review

als import sql_ready

als import `sql_ready`
PeterSurda commented 2021-03-10 14:23:24 +01:00 (Migrated from github.com)
Review

test content validity, not just if an entry exists.

test content validity, not just if an entry exists.
PeterSurda commented 2021-03-10 14:24:16 +01:00 (Migrated from github.com)
Review

here also the two exceptions like in class_sqlThread

here also the two exceptions like in `class_sqlThread`
PeterSurda commented 2021-03-10 14:25:37 +01:00 (Migrated from github.com)
Review

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite
PeterSurda commented 2021-03-11 15:43:07 +01:00 (Migrated from github.com)
Review

I don't think this is necessary as it's created by the sql thread already.

I don't think this is necessary as it's created by the sql thread already.
PeterSurda commented 2021-03-11 15:44:08 +01:00 (Migrated from github.com)
Review

these should be class variables or constants defined elsewhere.

Also version should be 4.

these should be class variables or constants defined elsewhere. Also version should be 4.
PeterSurda commented 2021-03-14 18:10:05 +01:00 (Migrated from github.com)
Review

sqlExecute('''DROP TABLE testhash''')

`sqlExecute('''DROP TABLE testhash''')`
PeterSurda commented 2021-03-14 18:10:19 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:36 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:44 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:11:00 +01:00 (Migrated from github.com)
Review

Remove lines 20-22.

Remove lines 20-22.
PeterSurda commented 2021-03-14 18:18:08 +01:00 (Migrated from github.com)
Review

I'm not sure this (line 81) actually tests anything. Remove.

I'm not sure this (line 81) actually tests anything. Remove.
PeterSurda commented 2021-03-15 12:17:46 +01:00 (Migrated from github.com)
Review

direct update, not join

direct update, not join
self.assertEqual(query[0][-1], encoded_str, "test case fail for create_function")
PeterSurda commented 2021-03-06 17:06:27 +01:00 (Migrated from github.com)
Review

bad docstring

bad docstring
PeterSurda commented 2021-03-10 09:27:32 +01:00 (Migrated from github.com)
Review

als import sql_ready

als import `sql_ready`
PeterSurda commented 2021-03-10 14:23:24 +01:00 (Migrated from github.com)
Review

test content validity, not just if an entry exists.

test content validity, not just if an entry exists.
PeterSurda commented 2021-03-10 14:24:16 +01:00 (Migrated from github.com)
Review

here also the two exceptions like in class_sqlThread

here also the two exceptions like in `class_sqlThread`
PeterSurda commented 2021-03-10 14:25:37 +01:00 (Migrated from github.com)
Review

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite
PeterSurda commented 2021-03-11 15:43:07 +01:00 (Migrated from github.com)
Review

I don't think this is necessary as it's created by the sql thread already.

I don't think this is necessary as it's created by the sql thread already.
PeterSurda commented 2021-03-11 15:44:08 +01:00 (Migrated from github.com)
Review

these should be class variables or constants defined elsewhere.

Also version should be 4.

these should be class variables or constants defined elsewhere. Also version should be 4.
PeterSurda commented 2021-03-14 18:10:05 +01:00 (Migrated from github.com)
Review

sqlExecute('''DROP TABLE testhash''')

`sqlExecute('''DROP TABLE testhash''')`
PeterSurda commented 2021-03-14 18:10:19 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:36 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:44 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:11:00 +01:00 (Migrated from github.com)
Review

Remove lines 20-22.

Remove lines 20-22.
PeterSurda commented 2021-03-14 18:18:08 +01:00 (Migrated from github.com)
Review

I'm not sure this (line 81) actually tests anything. Remove.

I'm not sure this (line 81) actually tests anything. Remove.
PeterSurda commented 2021-03-15 12:17:46 +01:00 (Migrated from github.com)
Review

direct update, not join

direct update, not join
sqlExecute('''DROP TABLE testhash''')
PeterSurda commented 2021-03-06 17:06:27 +01:00 (Migrated from github.com)
Review

bad docstring

bad docstring
PeterSurda commented 2021-03-10 09:27:32 +01:00 (Migrated from github.com)
Review

als import sql_ready

als import `sql_ready`
PeterSurda commented 2021-03-10 14:23:24 +01:00 (Migrated from github.com)
Review

test content validity, not just if an entry exists.

test content validity, not just if an entry exists.
PeterSurda commented 2021-03-10 14:24:16 +01:00 (Migrated from github.com)
Review

here also the two exceptions like in class_sqlThread

here also the two exceptions like in `class_sqlThread`
PeterSurda commented 2021-03-10 14:25:37 +01:00 (Migrated from github.com)
Review

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite

this should be cleaned up so that an exception can simply be ignored and treated as a failure by the test suite
PeterSurda commented 2021-03-11 15:43:07 +01:00 (Migrated from github.com)
Review

I don't think this is necessary as it's created by the sql thread already.

I don't think this is necessary as it's created by the sql thread already.
PeterSurda commented 2021-03-11 15:44:08 +01:00 (Migrated from github.com)
Review

these should be class variables or constants defined elsewhere.

Also version should be 4.

these should be class variables or constants defined elsewhere. Also version should be 4.
PeterSurda commented 2021-03-14 18:10:05 +01:00 (Migrated from github.com)
Review

sqlExecute('''DROP TABLE testhash''')

`sqlExecute('''DROP TABLE testhash''')`
PeterSurda commented 2021-03-14 18:10:19 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:36 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:10:44 +01:00 (Migrated from github.com)
Review

remove ;

remove `;`
PeterSurda commented 2021-03-14 18:11:00 +01:00 (Migrated from github.com)
Review

Remove lines 20-22.

Remove lines 20-22.
PeterSurda commented 2021-03-14 18:18:08 +01:00 (Migrated from github.com)
Review

I'm not sure this (line 81) actually tests anything. Remove.

I'm not sure this (line 81) actually tests anything. Remove.
PeterSurda commented 2021-03-15 12:17:46 +01:00 (Migrated from github.com)
Review

direct update, not join

direct update, not join