Browse Source

Improve test coverage

tags/nilmdb-1.5.4
Jim Paris 11 years ago
parent
commit
ecc4e5ef9d
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      tests/test_client.py

+ 4
- 0
tests/test_client.py View File

@@ -327,6 +327,10 @@ class TestClient(object):
2525.169921875, 8350.83984375, 3724.699951171875,
1355.3399658203125, 2039.0))

# Just get some coverage
with assert_raises(ClientError) as e:
client.http.post("/stream/remove", { "path": "/none" })

client.close()

def test_client_06_generators(self):


Loading…
Cancel
Save