docstr: Test if exception AlgorithmNotFound is raised as expected.
docstr_tok: ["Test","if","exception","AlgorithmNotFound","is","raised","as","expected","."]
code: def test_algorithm(self):
      """
      Test if exception AlgorithmNotFound is raised as expected.
      """
      self.assertRaises(
          exceptions.AlgorithmNotFound,
          lambda: AnomalyDetector(
              self.s1, algorithm_name="NotValidAlgorithm"
          ),
      )
  
imports: import os
  import sys
  import unittest
  from luminol import exceptions
  from luminol.anomaly_detector import AnomalyDetector
  from luminol.modules.time_series import TimeSeries
  from luminol.algorithms.anomaly_detector_algorithms import AnomalyDetectorAlgorithm
label_desc: Use image node_id 13 for calling the TestAnomalyDetector obj's underlying member method code with example usage: obj.test_algorithm() without return types