コード例 #1
0
ファイル: test_apis.py プロジェクト: bosha/pypushalot
 def test_send_with_expiry(self):
     api = APILatest(token='some-token', transport=DummyReturnTransport())
     self.assertDictEqual(
         api.send_with_expiry('test', 'test', ttl=1),
         self._param_builder(api=api, title='test', body='test', ttl=1)
     )