import unittest
from datetime import datetime
from dateutil.tz import tzutc
from fmi import FMI


class TestObservations(unittest.TestCase):
    def test_lappeenranta(self):
        now = datetime.now(tz=tzutc())

        f = FMI(place='Lappeenranta')
        for point in f.observations():
            assert point.time < now
            assert isinstance(point.temperature, float)

import unittest
from datetime import datetime
from dateutil.tz import tzutc
from fmi import FMI


class TestObservations(unittest.TestCase):
    def test_lappeenranta(self):
        now = datetime.now(tz=tzutc())

        f = FMI(place='Lappeenranta')
        for point in f.observations():
            assert point.time < now
            assert isinstance(point.temperature, float)

        for point in f.observations(fmisid=101237):
            assert point.time < now
            assert isinstance(point.temperature, float)

Add use of fmisid to tests.
Add use of fmisid to tests.

  import unittest
  from datetime import datetime
  from dateutil.tz import tzutc
  from fmi import FMI
  
  
  class TestObservations(unittest.TestCase):
      def test_lappeenranta(self):
          now = datetime.now(tz=tzutc())
  
          f = FMI(place='Lappeenranta')
          for point in f.observations():
              assert point.time < now
              assert isinstance(point.temperature, float)
  
+         for point in f.observations(fmisid=101237):
+             assert point.time < now
+             assert isinstance(point.temperature, float)
+ 
Add use of fmisid to tests.
## Code Before:
import unittest
from datetime import datetime
from dateutil.tz import tzutc
from fmi import FMI


class TestObservations(unittest.TestCase):
    def test_lappeenranta(self):
        now = datetime.now(tz=tzutc())

        f = FMI(place='Lappeenranta')
        for point in f.observations():
            assert point.time < now
            assert isinstance(point.temperature, float)

## Instruction:
Add use of fmisid to tests.
## Code After:
import unittest
from datetime import datetime
from dateutil.tz import tzutc
from fmi import FMI


class TestObservations(unittest.TestCase):
    def test_lappeenranta(self):
        now = datetime.now(tz=tzutc())

        f = FMI(place='Lappeenranta')
        for point in f.observations():
            assert point.time < now
            assert isinstance(point.temperature, float)

        for point in f.observations(fmisid=101237):
            assert point.time < now
            assert isinstance(point.temperature, float)
