prompt: You will be provided with a partial code base and an issue statement explaining a problem to resolve.
  <issue>
  Check for sent Label in E2E Tests
  ## Current Behavior
  
  There are no checks on Labels sent to REST API.
  
  ## Expected Behavior
  
  E2E Tests should also check if Label on the backend side was properly created.
  
  </issue>
  <code>
  [start of backend/medtagger/config.py]
  1 """Module responsible for reading data from application configuration."""
  2 import os
  3 from typing import Any
  4 
  5 
  6 class AppConfiguration:
  7     """Class that represents application configuration."""
  8 
  9     def __init__(self) -> None:
  10         """Initialize application configuration."""
  11         pass
  12 
  13     @staticmethod
  14     def get(namespace: str, key: str, fallback: Any = None) -> Any:
  15         """Return value of a given configuration entry.
  16 
  17         :param namespace: name of a namespace for given entry
  18         :param key: key for which it should return value from given namespace
  19         :param fallback: default value returned if key was not found
  20         :return: value for given entry
  21         """
  22         variable_name = 'MEDTAGGER__' + namespace.upper() + '_' + key.upper()
  23         return os.environ.get(variable_name, fallback)
  24 
  25     @staticmethod
  26     def getint(namespace: str, key: str, fallback: int = 0) -> int:
  27         """Return integer value for given key in namespace."""
  28         return int(AppConfiguration.get(namespace, key, fallback))
  29 
  30     @staticmethod
  31     def getboolean(namespace: str, key: str, fallback: bool = False) -> bool:
  32         """Return boolean value for given key in namespace."""
  33         return bool(AppConfiguration.getint(namespace, key, fallback))
  34
  [end of backend/medtagger/config.py]
  [start of backend/medtagger/api/exceptions.py]
  1 """Exceptions used across whole API."""
  2 from medtagger.exceptions import MedTaggerException
  3 
  4 
  5 class BaseHTTPException(MedTaggerException):
  6     """Base class for all HTTP Exceptions."""
  7 
  8     pass
  9 
  10 
  11 class UnauthorizedException(BaseHTTPException):
  12     """Exception designed to use once there was an authorization error during business logic processing."""
  13 
  14     pass
  15 
  16 
  17 class NotFoundException(BaseHTTPException):
  18     """Exception designed to use while the object that user was looking for could not be found."""
  19 
  20     pass
  21 
  22 
  23 class InvalidArgumentsException(BaseHTTPException):
  24     """Exception designed to use with invalid arguments (400 status code)."""
  25 
  26     pass
  27 
  28 
  29 class AccessForbiddenException(BaseHTTPException):
  30     """Exception designed to use while the user does not have a privilege to perform action."""
  31 
  32     pass
  33
  [end of backend/medtagger/api/exceptions.py]
  [start of backend/medtagger/exceptions.py]
  1 """All available Exceptions for whole project."""
  2 
  3 
  4 class MedTaggerException(Exception):
  5     """Base class for all HTTP Exceptions."""
  6 
  7     pass
  8 
  9 
  10 class UnsupportedActionException(MedTaggerException):
  11     """Exception for unsupported Action."""
  12 
  13     pass
  14 
  15 
  16 class InvalidResponseException(MedTaggerException):
  17     """Exception for invalid Response."""
  18 
  19     pass
  20 
  21 
  22 class InternalErrorException(MedTaggerException):
  23     """Exception designed to use to indicate internal errors (like DB/Storage error)."""
  24 
  25     pass
  26
  [end of backend/medtagger/exceptions.py]
  </code>
  
  I need you to solve this issue by generating a single patch file that I can apply directly to this repository using git apply. Please respond with a single patch file in the following format.
  <patch>
  diff --git a/file.py b/file.py
  --- a/file.py
  +++ b/file.py
  @@ -1,27 +1,35 @@
   def euclidean(a, b):
  -    while b:
  -        a, b = b, a % b
  -    return a
  +    if b == 0:
  +        return a
  +    return euclidean(b, a % b)
   
   
   def bresenham(x0, y0, x1, y1):
       points = []
       dx = abs(x1 - x0)
       dy = abs(y1 - y0)
  -    sx = 1 if x0 < x1 else -1
  -    sy = 1 if y0 < y1 else -1
  -    err = dx - dy
  +    x, y = x0, y0
  +    sx = -1 if x0 > x1 else 1
  +    sy = -1 if y0 > y1 else 1
   
  -    while True:
  -        points.append((x0, y0))
  -        if x0 == x1 and y0 == y1:
  -            break
  -        e2 = 2 * err
  -        if e2 > -dy:
  -            err -= dy
  -            x0 += sx
  -        if e2 < dx:
  -            err += dx
  -            y0 += sy
  +    if dx > dy:
  +        err = dx / 2.0
  +        while x != x1:
  +            points.append((x, y))
  +            err -= dy
  +            if err < 0:
  +                y += sy
  +                err += dx
  +            x += sx
  +    else:
  +        err = dy / 2.0
  +        while y != y1:
  +            points.append((x, y))
  +            err -= dx
  +            if err < 0:
  +                x += sx
  +                err += dy
  +            y += sy
  +
  +    points.append((x, y))
       return points
  
  </patch>
golden_diff: diff --git a/backend/medtagger/api/exceptions.py b/backend/medtagger/api/exceptions.py
  --- a/backend/medtagger/api/exceptions.py
  +++ b/backend/medtagger/api/exceptions.py
  @@ -5,28 +5,28 @@
   class BaseHTTPException(MedTaggerException):
       """Base class for all HTTP Exceptions."""
   
  -    pass
  +    pass  # pylint: disable=unnecessary-pass
   
   
   class UnauthorizedException(BaseHTTPException):
       """Exception designed to use once there was an authorization error during business logic processing."""
   
  -    pass
  +    pass  # pylint: disable=unnecessary-pass
   
   
   class NotFoundException(BaseHTTPException):
       """Exception designed to use while the object that user was looking for could not be found."""
   
  -    pass
  +    pass  # pylint: disable=unnecessary-pass
   
   
   class InvalidArgumentsException(BaseHTTPException):
       """Exception designed to use with invalid arguments (400 status code)."""
   
  -    pass
  +    pass  # pylint: disable=unnecessary-pass
   
   
   class AccessForbiddenException(BaseHTTPException):
       """Exception designed to use while the user does not have a privilege to perform action."""
   
  -    pass
  +    pass  # pylint: disable=unnecessary-pass
  diff --git a/backend/medtagger/config.py b/backend/medtagger/config.py
  --- a/backend/medtagger/config.py
  +++ b/backend/medtagger/config.py
  @@ -6,10 +6,6 @@
   class AppConfiguration:
       """Class that represents application configuration."""
   
  -    def __init__(self) -> None:
  -        """Initialize application configuration."""
  -        pass
  -
       @staticmethod
       def get(namespace: str, key: str, fallback: Any = None) -> Any:
           """Return value of a given configuration entry.
  diff --git a/backend/medtagger/exceptions.py b/backend/medtagger/exceptions.py
  --- a/backend/medtagger/exceptions.py
  +++ b/backend/medtagger/exceptions.py
  @@ -4,22 +4,22 @@
   class MedTaggerException(Exception):
       """Base class for all HTTP Exceptions."""
   
  -    pass
  +    pass  # pylint: disable=unnecessary-pass
   
   
   class UnsupportedActionException(MedTaggerException):
       """Exception for unsupported Action."""
   
  -    pass
  +    pass  # pylint: disable=unnecessary-pass
   
   
   class InvalidResponseException(MedTaggerException):
       """Exception for invalid Response."""
   
  -    pass
  +    pass  # pylint: disable=unnecessary-pass
   
   
   class InternalErrorException(MedTaggerException):
       """Exception designed to use to indicate internal errors (like DB/Storage error)."""
   
  -    pass
  +    pass  # pylint: disable=unnecessary-pass
  
verification_info: {"golden_diff": "diff --git a/backend/medtagger/api/exceptions.py b/backend/medtagger/api/exceptions.py\n--- a/backend/medtagger/api/exceptions.py\n+++ b/backend/medtagger/api/exceptions.py\n@@ -5,28 +5,28 @@\n class BaseHTTPException(MedTaggerException):\n     \"\"\"Base class for all HTTP Exceptions.\"\"\"\n \n-    pass\n+    pass  # pylint: disable=unnecessary-pass\n \n \n class UnauthorizedException(BaseHTTPException):\n     \"\"\"Exception designed to use once there was an authorization error during business logic processing.\"\"\"\n \n-    pass\n+    pass  # pylint: disable=unnecessary-pass\n \n \n class NotFoundException(BaseHTTPException):\n     \"\"\"Exception designed to use while the object that user was looking for could not be found.\"\"\"\n \n-    pass\n+    pass  # pylint: disable=unnecessary-pass\n \n \n class InvalidArgumentsException(BaseHTTPException):\n     \"\"\"Exception designed to use with invalid arguments (400 status code).\"\"\"\n \n-    pass\n+    pass  # pylint: disable=unnecessary-pass\n \n \n class AccessForbiddenException(BaseHTTPException):\n     \"\"\"Exception designed to use while the user does not have a privilege to perform action.\"\"\"\n \n-    pass\n+    pass  # pylint: disable=unnecessary-pass\ndiff --git a/backend/medtagger/config.py b/backend/medtagger/config.py\n--- a/backend/medtagger/config.py\n+++ b/backend/medtagger/config.py\n@@ -6,10 +6,6 @@\n class AppConfiguration:\n     \"\"\"Class that represents application configuration.\"\"\"\n \n-    def __init__(self) -> None:\n-        \"\"\"Initialize application configuration.\"\"\"\n-        pass\n-\n     @staticmethod\n     def get(namespace: str, key: str, fallback: Any = None) -> Any:\n         \"\"\"Return value of a given configuration entry.\ndiff --git a/backend/medtagger/exceptions.py b/backend/medtagger/exceptions.py\n--- a/backend/medtagger/exceptions.py\n+++ b/backend/medtagger/exceptions.py\n@@ -4,22 +4,22 @@\n class MedTaggerException(Exception):\n     \"\"\"Base class for all HTTP Exceptions.\"\"\"\n \n-    pass\n+    pass  # pylint: disable=unnecessary-pass\n \n \n class UnsupportedActionException(MedTaggerException):\n     \"\"\"Exception for unsupported Action.\"\"\"\n \n-    pass\n+    pass  # pylint: disable=unnecessary-pass\n \n \n class InvalidResponseException(MedTaggerException):\n     \"\"\"Exception for invalid Response.\"\"\"\n \n-    pass\n+    pass  # pylint: disable=unnecessary-pass\n \n \n class InternalErrorException(MedTaggerException):\n     \"\"\"Exception designed to use to indicate internal errors (like DB/Storage error).\"\"\"\n \n-    pass\n+    pass  # pylint: disable=unnecessary-pass\n", "issue": "Check for sent Label in E2E Tests\n## Current Behavior\r\n\r\nThere are no checks on Labels sent to REST API.\r\n\r\n## Expected Behavior\r\n\r\nE2E Tests should also check if Label on the backend side was properly created.\n", "before_files": [{"content": "\"\"\"Module responsible for reading data from application configuration.\"\"\"\nimport os\nfrom typing import Any\n\n\nclass AppConfiguration:\n    \"\"\"Class that represents application configuration.\"\"\"\n\n    def __init__(self) -> None:\n        \"\"\"Initialize application configuration.\"\"\"\n        pass\n\n    @staticmethod\n    def get(namespace: str, key: str, fallback: Any = None) -> Any:\n        \"\"\"Return value of a given configuration entry.\n\n        :param namespace: name of a namespace for given entry\n        :param key: key for which it should return value from given namespace\n        :param fallback: default value returned if key was not found\n        :return: value for given entry\n        \"\"\"\n        variable_name = 'MEDTAGGER__' + namespace.upper() + '_' + key.upper()\n        return os.environ.get(variable_name, fallback)\n\n    @staticmethod\n    def getint(namespace: str, key: str, fallback: int = 0) -> int:\n        \"\"\"Return integer value for given key in namespace.\"\"\"\n        return int(AppConfiguration.get(namespace, key, fallback))\n\n    @staticmethod\n    def getboolean(namespace: str, key: str, fallback: bool = False) -> bool:\n        \"\"\"Return boolean value for given key in namespace.\"\"\"\n        return bool(AppConfiguration.getint(namespace, key, fallback))\n", "path": "backend/medtagger/config.py"}, {"content": "\"\"\"Exceptions used across whole API.\"\"\"\nfrom medtagger.exceptions import MedTaggerException\n\n\nclass BaseHTTPException(MedTaggerException):\n    \"\"\"Base class for all HTTP Exceptions.\"\"\"\n\n    pass\n\n\nclass UnauthorizedException(BaseHTTPException):\n    \"\"\"Exception designed to use once there was an authorization error during business logic processing.\"\"\"\n\n    pass\n\n\nclass NotFoundException(BaseHTTPException):\n    \"\"\"Exception designed to use while the object that user was looking for could not be found.\"\"\"\n\n    pass\n\n\nclass InvalidArgumentsException(BaseHTTPException):\n    \"\"\"Exception designed to use with invalid arguments (400 status code).\"\"\"\n\n    pass\n\n\nclass AccessForbiddenException(BaseHTTPException):\n    \"\"\"Exception designed to use while the user does not have a privilege to perform action.\"\"\"\n\n    pass\n", "path": "backend/medtagger/api/exceptions.py"}, {"content": "\"\"\"All available Exceptions for whole project.\"\"\"\n\n\nclass MedTaggerException(Exception):\n    \"\"\"Base class for all HTTP Exceptions.\"\"\"\n\n    pass\n\n\nclass UnsupportedActionException(MedTaggerException):\n    \"\"\"Exception for unsupported Action.\"\"\"\n\n    pass\n\n\nclass InvalidResponseException(MedTaggerException):\n    \"\"\"Exception for invalid Response.\"\"\"\n\n    pass\n\n\nclass InternalErrorException(MedTaggerException):\n    \"\"\"Exception designed to use to indicate internal errors (like DB/Storage error).\"\"\"\n\n    pass\n", "path": "backend/medtagger/exceptions.py"}]}