Add basic test for plot.py

Change-Id: I976dffaf7ca04b4403e29d6762aebd94afe86739
diff --git a/frc971/analysis/plot_test.py b/frc971/analysis/plot_test.py
new file mode 100644
index 0000000..1c57ae2
--- /dev/null
+++ b/frc971/analysis/plot_test.py
@@ -0,0 +1,23 @@
+#!/usr/bin/python3
+import unittest
+
+import matplotlib
+# Use a non-interactive backend so that the test can actually run...
+matplotlib.use('Agg')
+
+import frc971.analysis.plot
+
+
+class PlotterTest(unittest.TestCase):
+    def test_plotter(self):
+        """Basic test that makes sure that we can run the test without crashing."""
+        self.assertEqual(0,
+                         frc971.analysis.plot.main([
+                             "binary", "--logfile",
+                             "external/sample_logfile/file/log.fbs",
+                             "--config", "gyro.pb"
+                         ]))
+
+
+if __name__ == '__main__':
+    unittest.main()