コード例 #1
0
ファイル: config.py プロジェクト: harunpehlivan/jasmine-py
 def stylesheet_urls(self):
     return [
         "/__jasmine__/{0}".format(core_css)
         for core_css in Core.css_files()
     ] + [
         "/__src__/{0}".format(css_file) for css_file in self.stylesheets()
     ]
コード例 #2
0
def test_css_files():
    """ Should return a list of css files that are relative to Core.path() """
    assert ['jasmine.css'] == Core.css_files()
コード例 #3
0
def test_css_files():
    """ Should return a list of css files that are relative to Core.path() """
    assert ['jasmine.css'] == Core.css_files()
コード例 #4
0
ファイル: config.py プロジェクト: Gerg/jasmine-py
 def stylesheet_urls(self):
     return \
         ["__jasmine__/{0}".format(core_css) for core_css in Core.css_files()] + \
         ["__src__/{0}".format(css_file) for css_file in self.stylesheets()]