Browse Source

Add some test prep data

git-svn-id: https://bucket.mit.edu/svn/nilm/nilmdb@10641 ddd99763-3ecb-0310-9145-efcb8ce7c51f
tags/bxinterval-last
Jim Paris 9 years ago
parent
commit
09340d543d
5 changed files with 43203 additions and 1 deletions
  1. +14400
    -0
      tests/data/prep-20120323T1000
  2. +14400
    -0
      tests/data/prep-20120323T1002
  3. +14400
    -0
      tests/data/prep-20120323T1004
  4. +2
    -0
      tests/test_client.py
  5. +1
    -1
      tests/test_cmdline.py

+ 14400
- 0
tests/data/prep-20120323T1000
File diff suppressed because it is too large
View File


+ 14400
- 0
tests/data/prep-20120323T1002
File diff suppressed because it is too large
View File


+ 14400
- 0
tests/data/prep-20120323T1004
File diff suppressed because it is too large
View File


+ 2
- 0
tests/test_client.py View File

@@ -123,4 +123,6 @@ class TestClient(object):
client.stream_update_metadata("/newton/prep", [1,2,3])

def test_client_insert(self):
# TODO: Just start writing the client side of this as if it works.
# Then fill things in to make it so!
pass

+ 1
- 1
tests/test_cmdline.py View File

@@ -40,7 +40,7 @@ class TestCmdline(object):
pass

# Start web app on a custom port
self.db = nilmdb.NilmDB(testdb)
self.db = nilmdb.NilmDB(testdb, sync=False)
self.server = nilmdb.Server(self.db, host = "127.0.0.1",
port = 12380, stoppable = False)
self.server.start(blocking = False)


Loading…
Cancel
Save