diff options
author | Wouter Bolsterlee <uws@xs4all.nl> | 2012-05-23 18:02:05 +0200 |
---|---|---|
committer | Wouter Bolsterlee <uws@xs4all.nl> | 2012-05-23 18:02:05 +0200 |
commit | d9f0a59a661ba7c8e304c1f766fa6b30e6bd96dc (patch) | |
tree | 84f519b29cd8b48169928afa985e1de335126e5e /tests | |
parent | 4bb750cf705862781d6f6a32ae02d76bc3c2f21c (diff) | |
download | happybase-d9f0a59a661ba7c8e304c1f766fa6b30e6bd96dc.tar.gz |
Initial steps for HBase/Thrift compatibility modes
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_api.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test_api.py b/tests/test_api.py index 28aeca5..5519728 100644 --- a/tests/test_api.py +++ b/tests/test_api.py @@ -50,6 +50,10 @@ def teardown_module(): connection.close() +def test_connection_compat(): + with assert_raises(ValueError): + happybase.Connection(compat='0.1.invalid.version') + def test_enabling(): assert_true(connection.is_table_enabled(TEST_TABLE_NAME)) connection.disable_table(TEST_TABLE_NAME) |