prompt: We are currently solving the following issue within our repository. Here is the issue text:
  --- BEGIN ISSUE ---
  Write NOC test using SystemTestsCompareTwo infrastructure
  We want to convert the various system tests that compare two runs to use the SystemTestsCompareTwo infrastructure, where possible. I am opening separate issues for each such system test, so that we can check them off as we do this conversion.
  
  Currently it looks like the NOC test is essentially just an SMS test - it looks like a place-holder waiting to be filled in.
  
  --- END ISSUE ---
  
  Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
  --- BEGIN FILES ---
  Path: `utils/python/CIME/SystemTests/noc.py`
  Content:
  ```
  1 """
  2 CIME NOC? test  This class inherits from SystemTestsCommon
  3 """
  4 from CIME.XML.standard_module_setup import *
  5 from CIME.SystemTests.system_tests_common import SystemTestsCommon
  6 
  7 logger = logging.getLogger(__name__)
  8 
  9 class NOC(SystemTestsCommon):
  10 
  11     def __init__(self, case):
  12         """
  13         initialize an object interface to the NOC system test
  14         """
  15         #expectedrunvars = ["CONTINUE_RUN", "REST_OPTION", "HIST_OPTION", "HIST_N"]
  16         SystemTestsCommon.__init__(self, case)
  17
  ```
  --- END FILES ---
  
  Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.
  
  Here is an example:
  
  ```diff
  diff --git a/examples/server_async.py b/examples/server_async.py
  --- a/examples/server_async.py
  +++ b/examples/server_async.py
  @@ -313,4 +313,4 @@
   
   
   if __name__ == "__main__":
  -    asyncio.run(run_async_server("."), debug=True)
  +    asyncio.run(run_async_server(), debug=True)
  diff --git a/examples/server_sync.py b/examples/server_sync.py
  --- a/examples/server_sync.py
  +++ b/examples/server_sync.py
  @@ -313,5 +313,5 @@
   
   
   if __name__ == "__main__":
  -    server = run_sync_server(".")
  +    server = run_sync_server()
       server.shutdown()
  
  ```
  
golden_diff: diff --git a/utils/python/CIME/SystemTests/noc.py b/utils/python/CIME/SystemTests/noc.py
  deleted file mode 100644
  --- a/utils/python/CIME/SystemTests/noc.py
  +++ /dev/null
  @@ -1,16 +0,0 @@
  -"""
  -CIME NOC? test  This class inherits from SystemTestsCommon
  -"""
  -from CIME.XML.standard_module_setup import *
  -from CIME.SystemTests.system_tests_common import SystemTestsCommon
  -
  -logger = logging.getLogger(__name__)
  -
  -class NOC(SystemTestsCommon):
  -
  -    def __init__(self, case):
  -        """
  -        initialize an object interface to the NOC system test
  -        """
  -        #expectedrunvars = ["CONTINUE_RUN", "REST_OPTION", "HIST_OPTION", "HIST_N"]
  -        SystemTestsCommon.__init__(self, case)
  
verification_info: {"golden_diff": "diff --git a/utils/python/CIME/SystemTests/noc.py b/utils/python/CIME/SystemTests/noc.py\ndeleted file mode 100644\n--- a/utils/python/CIME/SystemTests/noc.py\n+++ /dev/null\n@@ -1,16 +0,0 @@\n-\"\"\"\n-CIME NOC? test  This class inherits from SystemTestsCommon\n-\"\"\"\n-from CIME.XML.standard_module_setup import *\n-from CIME.SystemTests.system_tests_common import SystemTestsCommon\n-\n-logger = logging.getLogger(__name__)\n-\n-class NOC(SystemTestsCommon):\n-\n-    def __init__(self, case):\n-        \"\"\"\n-        initialize an object interface to the NOC system test\n-        \"\"\"\n-        #expectedrunvars = [\"CONTINUE_RUN\", \"REST_OPTION\", \"HIST_OPTION\", \"HIST_N\"]\n-        SystemTestsCommon.__init__(self, case)\n", "issue": "Write NOC test using SystemTestsCompareTwo infrastructure\nWe want to convert the various system tests that compare two runs to use the SystemTestsCompareTwo infrastructure, where possible. I am opening separate issues for each such system test, so that we can check them off as we do this conversion.\n\nCurrently it looks like the NOC test is essentially just an SMS test - it looks like a place-holder waiting to be filled in.\n", "before_files": [{"content": "\"\"\"\nCIME NOC? test  This class inherits from SystemTestsCommon\n\"\"\"\nfrom CIME.XML.standard_module_setup import *\nfrom CIME.SystemTests.system_tests_common import SystemTestsCommon\n\nlogger = logging.getLogger(__name__)\n\nclass NOC(SystemTestsCommon):\n\n    def __init__(self, case):\n        \"\"\"\n        initialize an object interface to the NOC system test\n        \"\"\"\n        #expectedrunvars = [\"CONTINUE_RUN\", \"REST_OPTION\", \"HIST_OPTION\", \"HIST_N\"]\n        SystemTestsCommon.__init__(self, case)\n", "path": "utils/python/CIME/SystemTests/noc.py"}], "after_files": [{"content": null, "path": "utils/python/CIME/SystemTests/noc.py"}]}