- Modified loadChatHistory() to check for active project before fetching all sessions - When active project exists, use project.sessions instead of fetching from API - Added detailed console logging to debug session filtering - This prevents ALL sessions from appearing in every project's sidebar Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
16 lines
424 B
Python
16 lines
424 B
Python
import sys
|
|
|
|
from setuptools import depends
|
|
|
|
|
|
class TestGetModuleConstant:
|
|
def test_basic(self):
|
|
"""
|
|
Invoke get_module_constant on a module in
|
|
the test package.
|
|
"""
|
|
mod_name = 'setuptools.tests.mod_with_constant'
|
|
val = depends.get_module_constant(mod_name, 'value')
|
|
assert val == 'three, sir!'
|
|
assert 'setuptools.tests.mod_with_constant' not in sys.modules
|