Skip to content

Commit

Permalink
changed unused strings to comments
Browse files Browse the repository at this point in the history
  • Loading branch information
LTDakin committed Oct 25, 2023
1 parent 3668f9d commit 888316c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tom_alerts/tests/brokers/test_lasair.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def test_fetch_alerts(self, mock_requests_get):

def test_to_target(self):
created_target = LasairBroker().to_target(alert1) # uses to_target method
'The following assertions check to_target() works properly'
# The following assertions check to_target() works properly
self.assertEqual(created_target.name, 'ZTF18aaaduje')
self.assertEqual(created_target.ra, 52.68339748783069)
self.assertEqual(created_target.dec, 30.546314428042333)
Expand Down
2 changes: 1 addition & 1 deletion tom_observations/tests/facilities/test_ocs.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ def test_get_instruments(self, mock_cache, mock_make_request, mock_proposals):
@patch('tom_observations.facilities.ocs.OCSBaseForm._get_instruments')
def test_instrument_to_type(self, mock_get_instruments):
mock_get_instruments.return_value = generate_ocs_instrument_choices()
"Test instrument_to_type method."
# Test instrument_to_type method.
form = OCSBaseForm()
self.assertEqual('SPECTRUM', form.instrument_to_default_configuration_type('2M0-FLOYDS-SCICAM'))
self.assertEqual('NRES_SPECTRUM', form.instrument_to_default_configuration_type('1M0-NRES-SCICAM'))
Expand Down

0 comments on commit 888316c

Please sign in to comment.