# @license MIT # @modified 13-05-2019 # import requests import argparse import os, sys import time import hashlib import json from cfgsaver import cfgsaver from vtscan import __title__, __description__, __version__ from colorama import Fore, Style pkg_name = "vtscan" config_keys = ['api_key'] config = cfgsaver.get(pkg_name) def checkkey(kee): try: if len(kee) == 64: return kee else: print( "There is something wrong with your key. Not 64 Alpha Numeric characters." ) exit() except e as Exception: print(e)
def test_get(): obj = cfgsaver.get(pkg_name) assert obj[0]['name'] == 'Sophie' ##print('hello')