Browse Source

cleanup

git-svn-id: https://bucket.mit.edu/svn/nilm/nilmdb@10600 ddd99763-3ecb-0310-9145-efcb8ce7c51f
tags/bxinterval-last
Jim Paris 10 years ago
parent
commit
b1baacf272
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      tests/test_nilmdb.py

+ 3
- 2
tests/test_nilmdb.py View File

@@ -2,7 +2,7 @@ import nilmdb

from nose.tools import *
from nose.tools import assert_raises
from distutils.version import StrictVersion as V
import distutils.version
import json
import itertools
import os
@@ -144,7 +144,8 @@ class TestServer(object):
eq_(e.exception.code, 404)

# Check version
eq_(V(getjson("/version")), V(self.server.version))
eq_(distutils.version.StrictVersion(getjson("/version")),
distutils.version.StrictVersion(self.server.version))

def test_stream_list(self):
# Known streams that got populated by an earlier test (test_nilmdb)


Loading…
Cancel
Save