def test_get_time_from_rfc3399_invalid(rfc3399):
    with pytest.raises(RuntimeError):
        get_time_from_rfc3399(rfc3399)
 def get_time_created_in_seconds(self):
     return get_time_from_rfc3399(self.get_time_created())
def test_get_time_from_rfc3399_valid(rfc3399, seconds):
    assert get_time_from_rfc3399(rfc3399) == seconds