Skip to content

Instantly share code, notes, and snippets.

@OleLaursen
OleLaursen / unittest2-python27.patch
Created July 10, 2012 15:14
Patch to only include unittest2 if unittest is not good enough
diff --git a/collada/util.py b/collada/util.py
index 4c4a54e..5874da0 100644
--- a/collada/util.py
+++ b/collada/util.py
@@ -24,7 +24,10 @@ if sys.version_info[0] > 2:
basestring = (str,bytes)
xrange = range
else:
- import unittest2 as unittest
+ import unittest
@OleLaursen
OleLaursen / name-deletion-recreation
Created June 25, 2012 19:18
Patch for openstreetmap-license-change
diff --git a/test_tags.rb b/test_tags.rb
index 8112859..acd5c5b 100755
--- a/test_tags.rb
+++ b/test_tags.rb
@@ -204,6 +204,32 @@ class TestTags < MiniTest::Unit::TestCase
end
end
+ # This tests the following scenario:
+ # * agreer creates object