Skip to content
Snippets Groups Projects
  1. Dec 11, 2018
  2. Dec 10, 2018
  3. Nov 27, 2018
  4. Nov 22, 2018
  5. Nov 21, 2018
    • Carlos Vega's avatar
      Issue #195 added tests and changed the post_save function for visit. I didn't... · e98ed3d1
      Carlos Vega authored
      Issue #195 added tests and changed the post_save function for visit. I didn't saw a problem of concurrency but a problem of saving the visit accordingly. Maybe we need more tests
      e98ed3d1
    • Carlos Vega's avatar
    • Carlos Vega's avatar
      fixed tests · 5b3cd420
      Carlos Vega authored
      5b3cd420
    • Carlos Vega's avatar
      fixed syntax · 9bb11e41
      Carlos Vega authored
      9bb11e41
    • Carlos Vega's avatar
    • Carlos Vega's avatar
      To avoid the following error: · 093d5187
      Carlos Vega authored
      ======================================================================
      ERROR: web.tests.test_holidays (unittest.loader.ModuleImportFailure)
      ----------------------------------------------------------------------
      ImportError: Failed to import test module: web.tests.test_holidays
      Traceback (most recent call last):
        File "/usr/local/Cellar/python@2/2.7.15_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/loader.py", line 254, in _find_tests
          module = self._get_module_from_name(name)
        File "/usr/local/Cellar/python@2/2.7.15_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/loader.py", line 232, in _get_module_from_name
          __import__(name)
        File "/Users/carlos.vega/dev/scheduling-system/smash/web/tests/test_holidays.py", line 3, in <module>
          from web.management.commands.holidays import get_easter_sunday_date, get_ascension_day, get_pentecost_day
        File "/Users/carlos.vega/dev/scheduling-system/smash/web/management/commands/holidays.py", line 7, in <module>
          appointment_type_other = AppointmentType.objects.filter(code='OTHER').first()
        File "/Users/carlos.vega/dev/scheduling-system/env/lib/python2.7/site-packages/django/db/models/query.py", line 564, in first
          objects = list((self if self.ordered else self.order_by('pk'))[:1])
        File "/Users/carlos.vega/dev/scheduling-system/env/lib/python2.7/site-packages/django/db/models/query.py", line 250, in __iter__
          self._fetch_all()
        File "/Users/carlos.vega/dev/scheduling-system/env/lib/python2.7/site-packages/django/db/models/query.py", line 1118, in _fetch_all
          self._result_cache = list(self._iterable_class(self))
        File "/Users/carlos.vega/dev/scheduling-system/env/lib/python2.7/site-packages/django/db/models/query.py", line 53, in __iter__
          results = compiler.execute_sql(chunked_fetch=self.chunked_fetch)
        File "/Users/carlos.vega/dev/scheduling-system/env/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 894, in execute_sql
          raise original_exception
      ProgrammingError: relation "web_appointmenttype" does not exist
      LINE 1: ...ed", "web_appointmenttype"."required_worker" FROM "web_appoi...
      093d5187
    • Carlos Vega's avatar
      18ae699e
    • Carlos Vega's avatar
      added permissions · 77c6017e
      Carlos Vega authored
      77c6017e
    • Carlos Vega's avatar
    • Carlos Vega's avatar
      added option to provide a group and gather codenames together, useful to... · bf279d6f
      Carlos Vega authored
      added option to provide a group and gather codenames together, useful to retrieve permissions from certain type such as those from configure stuff
      bf279d6f
    • Carlos Vega's avatar
      properly removed buttons · 7765c985
      Carlos Vega authored
      7765c985
    • Carlos Vega's avatar
      6d44c240
    • Carlos Vega's avatar
      updated tests · 8afe45a8
      Carlos Vega authored
      8afe45a8
Loading