removed python 2.6, fixed issue with model creation
This commit is contained in:
@@ -1 +1 @@
|
||||
0.7.1
|
||||
0.8.2
|
||||
|
||||
@@ -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)))
|
||||
|
||||
1
setup.py
1
setup.py
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user