Sean McCarthy's Work for assertion improvement
authorSean McCarthy <spm64@pitt.edu>
Fri, 27 May 2016 19:12:10 +0000 (15:12 -0400)
committerPhilip Thompson <ptnapoleon@gmail.com>
Wed, 29 Jun 2016 15:40:59 +0000 (11:40 -0400)
commit2290e108aea24c38e85b835631fbbde80da38ac8
tree87c4951fe08bb882cf9ba0c2386a7b40d76e063a
parentea87e19b1b4497a034a7f4e500243e96b6fc52c0
Sean McCarthy's Work for assertion improvement

fixed outdated string formatting

Added docstring for assert_unavailable

added docstring for assert_one

added docstrings for assert_almost_equal. Minor refactoring to eliminate use of **kwargs

added docstrings for assert_row_count and assert_crc_check_chance_equal

Updated naked asserts. Fixed assert_almost_equal signature.

changed naked assertions. created assert_exception and refactored assert_invalid and assert_unavailable

PEP8 cleanup

changed naked assert. removed unused import

PEP8 cleanup

removed accidental text

updated docstring explanation

Changed __assert_exception from private method to inside method.

removed naked asserts

changed assert_row_count to handle where clauses. Changed naked asserts.

changed some naked asserts

changed naked asserts

changed naked assertions

changed naked assertions

PEP8 clean. Fixed syntax in sstable_generation_loading_test

added assert_length_equal. Changed assertion in counter_test

Fixed some errors with regex matching. updated assert_length_equals

Added prescriptive usage comment

Fixed issues raised in review

Initial meta tests for assertion methods

more meta testing

Continuted work on meta_tests

Finished meta_tests and changed assert_almost_equal back to its working form

Switched to using assert_length_equals

Changed via review notes

review fixes

changed for review suggestions

Removed comments

Fixed Travis nits
35 files changed:
assertions.py
auth_test.py
batch_test.py
bootstrap_test.py
compaction_test.py
concurrent_schema_changes_test.py
configuration_test.py
consistency_test.py
counter_tests.py
cqlsh_tests/cqlsh_copy_tests.py
cqlsh_tests/cqlsh_tests.py
delete_insert_test.py
dtest.py
largecolumn_test.py
meta_tests/assertion_test.py [new file with mode: 0644]
native_transport_ssl_test.py
paging_test.py
paxos_tests.py
putget_test.py
range_ghost_test.py
read_repair_test.py
replace_address_test.py
scrub_test.py
secondary_indexes_test.py
sstable_generation_loading_test.py
sstableutil_test.py
tools.py
upgrade_tests/cql_tests.py
upgrade_tests/paging_test.py
upgrade_tests/regression_test.py
upgrade_tests/storage_engine_upgrade_test.py
upgrade_tests/upgrade_base.py
upgrade_tests/upgrade_through_versions_test.py
user_types_test.py
wide_rows_test.py