1. 16 Jul, 2019 20 commits
  2. 15 Jul, 2019 14 commits
  3. 12 Jul, 2019 6 commits
    • Kirill Smelkov's avatar
      . · 4eb924e4
      Kirill Smelkov authored
      4eb924e4
    • Kirill Smelkov's avatar
      X wc1: Split out demo for failing cache invalidation into xfail'ing test · 197c35ea
      Kirill Smelkov authored
      See 69c94fbc and 48eb692f for description of the problem.
      197c35ea
    • Kirill Smelkov's avatar
      Merge branch 'master' into t · 10ca939f
      Kirill Smelkov authored
      * master:
        */tests: Use defer instead of finally
        *: Use defer for dbclose & friends
      10ca939f
    • Kirill Smelkov's avatar
      . · ec3ae866
      Kirill Smelkov authored
      ec3ae866
    • Kirill Smelkov's avatar
      */tests: Use defer instead of finally · 2b457640
      Kirill Smelkov authored
      try/finally was used in a couple of places to save/restore default ZBlk
      format setting. Move the restore part close to save with the help of
      defer.
      2b457640
    • Kirill Smelkov's avatar
      *: Use defer for dbclose & friends · 5c8340d2
      Kirill Smelkov authored
      For tests this makes sure that if one test fails, it won't make following
      tests fail just because the next test will fail trying to lock test database.
      
      For regular code (demo_zbigarray.py) this is also a good thing to do -
      to always close the database irregardless of whether an exception was
      raised before program reached end of main.
      
      Pygolang becomes regular - not test only - dependency. Being regular
      dependency is currently required only by demo_zbigarray.py, but it will
      be also used in upcoming wcfs, so adding pygolang into wendelin.core
      dependencies aligns with the plan.
      
      dbclose now uses defer almost everywhere - there are still few places in
      tests, where one test function is opening/closing test database multiple
      times - those were not (yet ?) converted.
      5c8340d2