From f9241af76b46bcc3a6a5c7d16cceb127f9f49fb3 Mon Sep 17 00:00:00 2001 From: "Rico Sta. Cruz" Date: Wed, 21 Oct 2009 02:58:52 +0800 Subject: [PATCH] Renamed unittest to sparkup-unittest. What was I thinking?! --- unittest.py => sparkup-unittest.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) rename unittest.py => sparkup-unittest.py (94%) diff --git a/unittest.py b/sparkup-unittest.py similarity index 94% rename from unittest.py rename to sparkup-unittest.py index c06acdc..89acd71 100755 --- a/unittest.py +++ b/sparkup-unittest.py @@ -1,7 +1,6 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- import sys -from cStringIO import StringIO import sparkup class SparkupTest: @@ -36,6 +35,10 @@ class SparkupTest: 'input': 'div#id.class[style=color:blue]', 'output': '
$1
$0' }, + #'Multiple attributes test': { + # 'input': 'div[align=center][style=color:blue][rel=none]', + # 'output': '
$1
$0' + # }, 'Multiple class test': { 'input': 'div.c1.c2.c3', 'output': '
$1
$0' @@ -88,6 +91,7 @@ class SparkupTest: 'input': 'p#menu > table+ + ul', 'output': '\n

$0' }, + # Add: text test, broken test, multi-attribute tests, indentation test, start and end comments test } def run(self): """Run Forrest run!"""