We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent db5d632 commit f2bab40Copy full SHA for f2bab40
tensorflow/tensorboard/backend/application_test.py
@@ -227,6 +227,17 @@ def testDataPaths_disableAllCaching(self):
227
response.read()
228
connection.close()
229
230
+ def testScalars(self):
231
+ """Test the format of /data/scalars."""
232
+ data = self._getJson('/data/scalars?run=run1&tag=simple_values')
233
+ self.assertEqual(len(data),self._SCALAR_COUNT)
234
+
235
+ def testScalarsCsv(self):
236
+ """Test the csv format of /data/scalars."""
237
+ data = self._get('/data/scalars?run=run1&tag=simple_values&format=csv').read()
238
+ line_count = data.count('\n')
239
+ self.assertEqual(line_count,self._SCALAR_COUNT + 1) # include 1 more line for header
240
241
def testHistograms(self):
242
"""Test the format of /data/histograms."""
243
self.assertEqual(
0 commit comments