@@ -0,0 +1,513 @@
+from buildtimetrend.trend import Trend%0Aimport unittest%0A%0Aclass TestTrend(unittest.TestCase):%0A%0A    def setUp(self):%0A        self.trend = Trend()%0A%0A    def test_nofile(self):%0A%09# function should return false when file doesn't exist%0A        self.assertFalse(self.trend.gather_data('nofile.xml'))%0A        self.assertFalse(self.trend.gather_data(''))%0A%0A%09# function should thrown an error  when no filename is set%0A        self.assertRaises(TypeError, self.trend.gather_data)%0A%0Aif __name__ == '__main__':%0A    unittest.main()%0A

add tests for trend