# Path: checkpy/entities/exception.py
# class CheckpyError(Exception):
# class SourceException(CheckpyError):
# class InputError(CheckpyError):
# class TestError(CheckpyError):
# class DownloadError(CheckpyError):
# class ExitError(CheckpyError):
# class PathError(CheckpyError):
# 	def __init__(self, exception = None, message = "", output = "", stacktrace = ""):
# 	def output(self):
# 	def stacktrace(self):
# 	def __str__(self):
# 	def __repr__(self):


from checkpy.entities import exception
import os
import colorama
colorama.init()

DEBUG_MODE = False
SILENT_MODE = False

class _Colors:
	PASS = '\033[92m'
	WARNING = '\033[93m'
	FAIL = '\033[91m'
	NAME = '\033[96m'
	ENDC = '\033[0m'

class _Smileys:
	HAPPY = ":)"
	SAD = ":("
	CONFUSED = ":S"

def display(testResult):
	color, smiley = _selectColorAndSmiley(testResult)
	msg = "{}{} {}{}".format(color, smiley, testResult.description, _Colors.ENDC)
	if testResult.message:
		msg += "\n  - {}".format(testResult.message)


# Path: checkpy/entities/exception.py
# class CheckpyError(Exception):
# class SourceException(CheckpyError):
# class InputError(CheckpyError):
# class TestError(CheckpyError):
# class DownloadError(CheckpyError):
# class ExitError(CheckpyError):
# class PathError(CheckpyError):
# 	def __init__(self, exception = None, message = "", output = "", stacktrace = ""):
# 	def output(self):
# 	def stacktrace(self):
# 	def __str__(self):
# 	def __repr__(self):


# Path: checkpy/printer/printer.py
from checkpy.entities import exception
import os
import colorama

colorama.init()

DEBUG_MODE = False
SILENT_MODE = False

class _Colors:
	PASS = '\033[92m'
	WARNING = '\033[93m'
	FAIL = '\033[91m'
	NAME = '\033[96m'
	ENDC = '\033[0m'

class _Smileys:
	HAPPY = ":)"
	SAD = ":("
	CONFUSED = ":S"

def display(testResult):
	color, smiley = _selectColorAndSmiley(testResult)
	msg = "{}{} {}{}".format(color, smiley, testResult.description, _Colors.ENDC)
	if testResult.message:
		msg += "\n  - {}".format(testResult.message)


	if DEBUG_MODE and testResult.exception: