Permalink
Commits on Sep 17, 2015
  1. Bump version and packaging

    committed Sep 17, 2015
Commits on Jan 28, 2015
  1. Ensure consistency when checking SMS timestamps

    Rewrite the test to use fixed datetimes in a variety of timezones but
    with and without DST applied.
    committed Jan 28, 2015
  2. Ensure that datetime conversion to DB is ok

    Add a test that checks what we write to the database for usage segments
    is what we expect after passing through the adapter/converter
    committed Jan 28, 2015
  3. Add simple implementation of get_localzone

    The tzlocal python module does not seem to be packaged for Debian/Ubuntu
    so let's create a simple implementation for our clients to use if it's
    not around.
    committed Jan 27, 2015
  4. Ensure get_usage_* functions respect timezone

    Pass the timezone through on get_usage_* functions. Adjust and simplify
    tests to accomodate.
    committed Jan 26, 2015
  5. Extend date_to_datetime() to be timezone aware

    Previously the conversion would be dependent upon the localtime
    definition of the machine running the tests. In order to get a consistent
    test regime, expand the function to optionally allow a timezone to be
    specified. Adjust the tests to use it.
    committed Jan 26, 2015
  6. Expand get_usage_for_day provider test for DST etc

    Add tests to ensure that get_usage_for_day() does the right thing when
    DST and large timezone offsets are applied as it is called in localtime
    but database is in UTC.
    committed Jan 26, 2015
  7. Make get_usage_for_day() consistent

    Previously items that straddled the dateline i.e. start today, end
    tomorrow, were never included in get_usage_for_day() results. Change the
    semantics such that only the end time is tested for day membership.
    Arguably the database fields should have been specified as end_time,
    duration etc, rather than start_time, end_time. Change the test to
    reflect the new semantics.
    committed Jan 26, 2015
  8. Ensure test_delete_usage_item is predictable

    Previously the base time for this test was determined by the
    time that the test was actually running, leading to sporadic
    failures. This patch changes the test to run at a fixed time.
    committed Jan 23, 2015
  9. Ensure test_add_usage_item is predictable

    Previously the base time for this test was determined by the
    time that the test was actually running, leading to sporadic
    failures. This patch changes the test to run at a fixed time.
    committed Jan 23, 2015
  10. Expand get_usage_for_day provider test

    Previously the get_usage_for_day test would be run with a base time
    that was dependent upon the time of day the test was being run. This
    caused intermittant failures depending upon if the start and end
    times of the items straddled the date line. This patch splits the
    test into two and runs each with a fixed date/time for a predictable
    outcome.
    Note: after applying this patch I expect one test to fail until a
    following patch fixes the problem.
    committed Jan 23, 2015
Commits on Jan 3, 2015
Commits on Dec 29, 2014
  1. DB apn.network_id / network_info.id type issues

    Previously the DB or its bindings have been been silently fixing or ignoring
    this for us, but now this is not the case, so do it properly.
    committed Dec 29, 2014
Commits on Oct 24, 2012
  1. Update USSD test for 02-DE

    committed Oct 22, 2012
  2. Add Longcheer family

    committed Oct 17, 2012
Commits on Aug 21, 2012
Commits on May 24, 2012
  1. Bump version and packaging

    committed May 22, 2012
  2. Update APN info

    committed May 19, 2012
  3. Huawei - Cope with contact on SMS data

    Seen on K3806 with MR 1 firmware
    committed May 23, 2012
Commits on May 22, 2012
  1. Remove unused constant

    committed May 22, 2012
Commits on May 20, 2012
  1. Fixup network population

    committed May 13, 2012
Commits on May 5, 2012
Commits on May 4, 2012
  1. Add Udev tests

    committed May 3, 2012