removed python 2.6, fixed issue with model creation

This commit is contained in:
Jon Haddad
2013-09-23 17:57:39 -07:00
parent e72cde5f0e
commit 3bd1ee5855
3 changed files with 3 additions and 3 deletions

View File

@@ -1 +1 @@
0.7.1
0.8.2

View File

@@ -23,7 +23,7 @@ from cqlengine.columns import Boolean
from cqlengine.columns import Float
from cqlengine.columns import Decimal
from cqlengine.management import create_table, delete_table, sync_table
from cqlengine.management import create_table, delete_table, sync_table, drop_table
from cqlengine.models import Model
import sys
@@ -241,6 +241,7 @@ class TestPythonDoesntDieWhenExtraFieldIsInCassandra(BaseCassEngTestCase):
id = UUID(primary_key=True, default=uuid4)
def test_extra_field(self):
drop_table(self.TestModel)
sync_table(self.TestModel)
self.TestModel.create()
execute("ALTER TABLE {} add blah int".format(self.TestModel.column_family_name(include_keyspace=True)))

View File

@@ -28,7 +28,6 @@ setup(
"Environment :: Plugins",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Software Development :: Libraries :: Python Modules",