mirror of
https://github.com/cuckoosandbox/cuckoo.git
synced 2026-10-11 21:59:53 +00:00
Also reintroduce the capability to provide a custom connection string to the Database (which is possible now that making the connection is no longer part of __init__).
11 lines
372 B
Python
11 lines
372 B
Python
# Copyright (C) 2010-2013 Claudio Guarnieri.
|
|
# Copyright (C) 2014-2016 Cuckoo Foundation.
|
|
# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
|
|
# See the file 'docs/LICENSE' for copying permission.
|
|
|
|
from cuckoo.common.colors import color
|
|
|
|
def test_return_text():
|
|
"""Test colorized text contains the input string."""
|
|
assert "foo" in color("foo", 11)
|