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 Float
|
||||||
from cqlengine.columns import Decimal
|
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
|
from cqlengine.models import Model
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
@@ -241,6 +241,7 @@ class TestPythonDoesntDieWhenExtraFieldIsInCassandra(BaseCassEngTestCase):
|
|||||||
id = UUID(primary_key=True, default=uuid4)
|
id = UUID(primary_key=True, default=uuid4)
|
||||||
|
|
||||||
def test_extra_field(self):
|
def test_extra_field(self):
|
||||||
|
drop_table(self.TestModel)
|
||||||
sync_table(self.TestModel)
|
sync_table(self.TestModel)
|
||||||
self.TestModel.create()
|
self.TestModel.create()
|
||||||
execute("ALTER TABLE {} add blah int".format(self.TestModel.column_family_name(include_keyspace=True)))
|
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",
|
"Environment :: Plugins",
|
||||||
"License :: OSI Approved :: BSD License",
|
"License :: OSI Approved :: BSD License",
|
||||||
"Operating System :: OS Independent",
|
"Operating System :: OS Independent",
|
||||||
"Programming Language :: Python :: 2.6",
|
|
||||||
"Programming Language :: Python :: 2.7",
|
"Programming Language :: Python :: 2.7",
|
||||||
"Topic :: Internet :: WWW/HTTP",
|
"Topic :: Internet :: WWW/HTTP",
|
||||||
"Topic :: Software Development :: Libraries :: Python Modules",
|
"Topic :: Software Development :: Libraries :: Python Modules",
|
||||||
|
|||||||
Reference in New Issue
Block a user