# Driver for unit testing SQL

import utils, sys
from testrunner import SQLTestRunner

def main():
    args = sys.argv
    if len(args) == 2:
        configPath = utils.readJson(".\\SQLUnit.config.json")
        SQLTestRunner(configPath, args[1]).execute()
    else:
        msg = "Too many arguments given." if len(args) > 2 else "No arguments given"
        utils.log(msg + "  <collection>", "ERROR", writeFile=False)
    

if __name__=='__main__': main()
e4c18983400e56f4e1fd60a4a3568aa3f8e55688
<mask token>

<mask token>


def main():
    args = sys.argv
    if len(args) == 2:
        configPath = utils.readJson('.\\SQLUnit.config.json')
        SQLTestRunner(configPath, args[1]).execute()
    else:
        msg = 'Too many arguments given.' if len(args
            ) > 2 else 'No arguments given'
        utils.log(msg + '  <collection>', 'ERROR', writeFile=False)


<mask token>

<mask token>


def main():
    args = sys.argv
    if len(args) == 2:
        configPath = utils.readJson('.\\SQLUnit.config.json')
        SQLTestRunner(configPath, args[1]).execute()
    else:
        msg = 'Too many arguments given.' if len(args
            ) > 2 else 'No arguments given'
        utils.log(msg + '  <collection>', 'ERROR', writeFile=False)


if __name__ == '__main__':
    main()

import utils, sys
from testrunner import SQLTestRunner


def main():
    args = sys.argv
    if len(args) == 2:
        configPath = utils.readJson('.\\SQLUnit.config.json')
        SQLTestRunner(configPath, args[1]).execute()
    else:
        msg = 'Too many arguments given.' if len(args
            ) > 2 else 'No arguments given'
        utils.log(msg + '  <collection>', 'ERROR', writeFile=False)


if __name__ == '__main__':
    main()

# Driver for unit testing SQL

import utils, sys
from testrunner import SQLTestRunner

def main():
    args = sys.argv
    if len(args) == 2:
        configPath = utils.readJson(".\\SQLUnit.config.json")
        SQLTestRunner(configPath, args[1]).execute()
    else:
        msg = "Too many arguments given." if len(args) > 2 else "No arguments given"
        utils.log(msg + "  <collection>", "ERROR", writeFile=False)
    

if __name__=='__main__': main()