datastax/python-driver — pull request #50 by joaquincasares (2013-10-22 02:26:10+00:00)
Title: Consistency integration test

I based this patch off d281b50 because master was showing issues with the `assert_queried()` statements.

I spotted a few bugs throughout, mainly:
* the order of which `future._current_host.address`'s are contacted has changed recently.
* writing at CL.ANY on an RF=1 keyspace fails.
* `wait_for_down()` and `wait_for_up()` should be able to function without a `time.sleep()`.

Also:
* what would the ideal solution be instead of copying `tests/integration/__init__.py` to `tests/full_integration/__init__.py`?
* would we want to have `TokenAwarePolicy(RoundRobinPolicy())` act differently in the python-driver as opposed to the java, c#, and c++ drivers?