]> Pileus Git - ~andy/csm213a-hw/blobdiff - vis/test.py
Fix whitespace error
[~andy/csm213a-hw] / vis / test.py
index e18191cb5673462c7eb6bca327813e6d42caa23f..abb4d6f3878c04203218cabf31c9b8f6f281d630 100644 (file)
@@ -86,20 +86,20 @@ class TestXively:
        def send(self):
                acc = Datastream(id='acc')
                acc.datapoints = [
-                   Datapoint(self.time0, [1, 1, 1]),
-                   Datapoint(self.time1, [2, 2, 2]),
-                   Datapoint(self.time2, [3, 3, 3]),
-                   Datapoint(self.time3, [4, 4, 4]),
-                   Datapoint(self.time4, [5, 5, 5]),
+                       Datapoint(self.time0, [1, 1, 1]),
+                       Datapoint(self.time1, [2, 2, 2]),
+                       Datapoint(self.time2, [3, 3, 3]),
+                       Datapoint(self.time3, [4, 4, 4]),
+                       Datapoint(self.time4, [5, 5, 5]),
                ]
 
                mag = Datastream(id='mag')
                mag.datapoints = [
-                   Datapoint(self.time0, [1, 1, 1]),
-                   Datapoint(self.time1, [2, 2, 2]),
-                   Datapoint(self.time2, [3, 3, 3]),
-                   Datapoint(self.time3, [4, 4, 4]),
-                   Datapoint(self.time4, [5, 5, 5]),
+                       Datapoint(self.time0, [1, 1, 1]),
+                       Datapoint(self.time1, [2, 2, 2]),
+                       Datapoint(self.time2, [3, 3, 3]),
+                       Datapoint(self.time3, [4, 4, 4]),
+                       Datapoint(self.time4, [5, 5, 5]),
                ]
 
                self.feed.datastreams = [ acc, mag ]