class TestUserThermal:
    def test_can_download_audio(self, helper):
        device = helper.given_new_device(self, 'cacophonator')
        recording = device.has_recording()

        print("\nA user should be able to download the recording")
        helper.admin_user().can_download_correct_recording(recording)

    def test_can_delete_recording(self, helper):
        device = helper.given_new_device(self, 'cacophonator')
        recording = device.has_recording()

        print("\nA user should be able to see the recording")
        user = helper.admin_user()
        user.can_see_recordings(recording)

        print("And when they delete it ... ", end='')
        user.delete_recording(recording)

        print("they can no longer see it.")
        user.cannot_see_recordings(recording)

class TestUserThermal:
    def test_can_download_recording(self, helper):
        device = helper.given_new_device(self, 'cacophonator-download')
        recording = device.has_recording()

        print("\nA user should be able to download the recording")
        helper.admin_user().can_download_correct_recording(recording)

    def test_can_delete_recording(self, helper):
        device = helper.given_new_device(self, 'cacophonator-delete')
        recording = device.has_recording()

        print("\nA user should be able to see the recording")
        user = helper.admin_user()
        user.can_see_recordings(recording)

        print("And when they delete it ... ", end='')
        user.delete_recording(recording)

        print("they can no longer see it.")
        user.cannot_see_recordings(recording)

Use unique device names in tests & correct a test name
Use unique device names in tests & correct a test name

  class TestUserThermal:
-     def test_can_download_audio(self, helper):
+     def test_can_download_recording(self, helper):
-         device = helper.given_new_device(self, 'cacophonator')
+         device = helper.given_new_device(self, 'cacophonator-download')
          recording = device.has_recording()
  
          print("\nA user should be able to download the recording")
          helper.admin_user().can_download_correct_recording(recording)
  
      def test_can_delete_recording(self, helper):
-         device = helper.given_new_device(self, 'cacophonator')
+         device = helper.given_new_device(self, 'cacophonator-delete')
          recording = device.has_recording()
  
          print("\nA user should be able to see the recording")
          user = helper.admin_user()
          user.can_see_recordings(recording)
  
          print("And when they delete it ... ", end='')
          user.delete_recording(recording)
  
          print("they can no longer see it.")
          user.cannot_see_recordings(recording)
  
Use unique device names in tests & correct a test name
## Code Before:
class TestUserThermal:
    def test_can_download_audio(self, helper):
        device = helper.given_new_device(self, 'cacophonator')
        recording = device.has_recording()

        print("\nA user should be able to download the recording")
        helper.admin_user().can_download_correct_recording(recording)

    def test_can_delete_recording(self, helper):
        device = helper.given_new_device(self, 'cacophonator')
        recording = device.has_recording()

        print("\nA user should be able to see the recording")
        user = helper.admin_user()
        user.can_see_recordings(recording)

        print("And when they delete it ... ", end='')
        user.delete_recording(recording)

        print("they can no longer see it.")
        user.cannot_see_recordings(recording)

## Instruction:
Use unique device names in tests & correct a test name
## Code After:
class TestUserThermal:
    def test_can_download_recording(self, helper):
        device = helper.given_new_device(self, 'cacophonator-download')
        recording = device.has_recording()

        print("\nA user should be able to download the recording")
        helper.admin_user().can_download_correct_recording(recording)

    def test_can_delete_recording(self, helper):
        device = helper.given_new_device(self, 'cacophonator-delete')
        recording = device.has_recording()

        print("\nA user should be able to see the recording")
        user = helper.admin_user()
        user.can_see_recordings(recording)

        print("And when they delete it ... ", end='')
        user.delete_recording(recording)

        print("they can no longer see it.")
        user.cannot_see_recordings(recording)
