def METHOD_NAME(self) -> None:
    """Test setting both the eid and session path when providing one or the other"""
    # Check that eid was set by constructor
    self.assertEqual(self.qc.eid, self.eid, 'failed to set eid in constructor')
    expected_path = one.eid2path(self.eid)
    self.assertEqual(self.qc.session_path, expected_path, 'failed to set path in constructor')
    self.qc.eid = self.qc.session_path = None  # Reset both properties
    # Test handling of valid eid
    self.qc._set_eid_or_path(self.eid)  # Provide eid
    self.assertEqual(self.qc.eid, self.eid, 'failed to set valid eid')
    self.assertEqual(self.qc.session_path, expected_path, 'failed to set path from eid')
    # Test handling of session path
    self.qc.eid = self.qc.session_path = None  # Reset both properties
    self.qc._set_eid_or_path(expected_path)  # Provide eid
    self.assertEqual(self.qc.eid, self.eid, 'failed to set eid from path')
    self.assertEqual(self.qc.session_path, expected_path, 'failed to set valid session path')
    # Test handling of unknown input
    self.qc.eid = self.qc.session_path = None  # Reset both properties
    with self.assertRaises(ValueError):
        self.qc._set_eid_or_path('invalid')  # Provide eid
    self.assertIsNone(self.qc.eid)
    self.assertIsNone(self.qc.session_path)