Пример #1
0
 def test_get_timestamps_for_query(self):
     simmetrica = Simmetrica()
     timestamps = simmetrica.get_timestamps_for_query(
         1363707480, 1363707780, 60)
     self.assertEqual(
         timestamps,
         [1363707480, 1363707540, 1363707600, 1363707660, 1363707720])
Пример #2
0
    def test_get_timestamps_for_query(self):
        simmetrica = Simmetrica()
        timestamps = simmetrica.get_timestamps_for_query(
            1363707480, 1363707780, 60)

        expected = [1363707480, 1363707540, 1363707600, 1363707660, 1363707720]
        self.assertEqual(list(timestamps), expected)
Пример #3
0
 def test_get_timestamps_for_query(self):
     simmetrica = Simmetrica()
     timestamps = simmetrica.get_timestamps_for_query(1363707480, 1363707780, 60)
     self.assertEqual(timestamps, [1363707480, 1363707540, 1363707600, 1363707660, 1363707720])
Пример #4
0
    def test_get_timestamps_for_query(self):
        simmetrica = Simmetrica()
        timestamps = simmetrica.get_timestamps_for_query(1363707480, 1363707780, 60)

        expected = [1363707480, 1363707540, 1363707600, 1363707660, 1363707720]
        self.assertEqual(list(timestamps), expected)