Merge commit 'a743ad9496701894406c0d7ded6a44fcecd4219e' as 'deps/QDark'

This commit is contained in:
2020-09-05 19:26:53 -05:00
374 changed files with 41320 additions and 0 deletions

33
deps/QDark/test/test_sass_compiler.py vendored Normal file
View File

@ -0,0 +1,33 @@
#!python
# -*- coding: utf-8 -*-
"""Test the qtsass is compiling the SCSS files to QSS."""
# Standard library imports
import tempfile
# Local imports
from qdarkstyle.utils.scss import create_custom_qss, create_qss
def test_create_qss():
# Should not raise a CompileError
create_qss()
def test_create_custom_qss():
# Should not raise a CompileError
qss = create_custom_qss(
'MyAwesomePalette',
tempfile.mkdtemp(),
'#ff0000',
'#cc0000',
'#aa0000',
'#00ff00',
'#00cc00',
'#00aa00',
'#0000ff',
'#0000cc',
'#0000aa',
'0px',
)
assert qss